ISIS claims attack on Iran parliament and Mausoleum of Ayatollah Khomeini, reports Amaq News Agency. This happens to be the first attack by ISIS in Iran. 

Seven people have been killed in an attack at the Iranian parliament on Wednesday and four have been taken hostage on the upper floors of the building, the semi-official Tasnim news agency quoted sources on the ground as saying.

But it added that this information had not been confirmed by security sources.

Tasnim also reported that the Revolutionary Guards' hostage rescue team killed one of the attackers in parliament.

Armed men launched two attacks in Iran on Wednesday morning, killing a guard at the parliament in central Tehran and wounding several people at the Mausoleum of Ayatollah Khomeini a few kilometers south of the city, state media reported.

The unusual attacks in Iran’s capital, Tehran, prompted the Interior Ministry to call for an urgent security meeting, according to the state-run IRNA news agency.

Iranian state media said police helicopters were circling over the parliament building and that all mobile phone lines from inside were disconnected. The semi-official ISNA news agency said all entrance and exit gates at parliament were closed and that lawmakers and reporters were ordered to remain in place inside the chamber, where a session had been in progress.

Lawmaker Elias Hazrati told state television three assailants, one with a pistol and two with AK-47 assault rifles, raided parliament.

Another lawmaker said one of the assailants was surrounded by security forces and all the doors to the building had been closed, ISNA news agency reported.

"I was inside the parliament when shooting happened. Everyone was shocked and scared. I saw two men shooting randomly," said one journalist at the scene, who asked not to be named.

Shrine attack 

An official at Khomeini's mausoleum in south Tehran said "three or four" people had entered via the western entrance and opened fire, killing the gardener and wounding several people, according to Fars.

The news agency published photos showing the suicide bomber blowing herself up outside.

The shrine lies around 20 kilometres away (12 miles) from parliament and houses the body of Khomeini, who led the Islamic revolution in 1979.

The ILNA news agency said security forces were dismantling a bomb inside the shrine and that firing was still going on around the site.

It was not clear if the assailants had been able to enter the actual mausoleum.

The city was on lockdown, with streets blocked and parts of the metro closed. Journalists were kept away from the shrine by police.

Interior Minister Abdolrahman Fazli told ISNA he had convened a special meeting of the country's security council.

Targeted by ISIS 

Iran has been singled out as a target by jihadist groups, including IS, but has largely escaped attacks within its urban centres.

Iran, the predominant Shiite power, has been helping both Iraq and President Bashar al-Assad's regime in Syria to battle the Sunni extremist group.

IS is under increasing pressure in both countries, having lost significant territory in the face of offensives now targeting its last two major urban bastions, Raqa in Syria and Mosul in Iraq.

IS published a rare video in Persian in March, warning that it "will conquer Iran and restore it to the Sunni Muslim nation as it was before."

IS and other extremists consider Shiites to be apostates, and the video accuses Iranians of persecuting Sunnis over the centuries and into modern times.

Militant groups are also known to operate in Iran's southeastern Sistan-Baluchistan province, which borders Pakistan and has a large Sunni community.

Jaish-ul Adl (Army of Justice), which Tehran accuses of links with Al-Qaeda, has carried out several armed attacks inside Iranian territory in recent years.

Iran's supreme leader Ayatollah Ali Khamenei said on Sunday that attacks by IS in Europe and elsewhere showed that Western policies in the Middle East have backfired.

"This is a fire that (Western powers) themselves ignited and now has backfired on them," he told a gathering of senior officials in Tehran.

In addition to being lethal, the attack on the shrine of Khomeini is symbolically stunning. As Iran’s first Supreme Leader, Khomeini is a towering figure in the country and was its revolutionary leader in the 1979 ouster of the shah.

Sunni extremists, including the Islamic State group, despise Shiite-majority Iran and are at war with Tehran’s proxies in Syria and Iraq. Iran has also come under attack in the past by Arab insurgents. No one immediately claimed Wednesday’s attacks.

This is a developing story*