@IranNewspaper - The official daily newspaper of the government of Iran. ++ Images purport to show show one of the attackers looking out from a window, a corpse of one of the attackers, and security services around the building.
@IranNewspaper - The official daily newspaper of the government of Iran. ++ Images purport to show show one of the attackers looking out from a window, a corpse of one of the attackers, and security services around the building.
PHOTO: @IranNewspaper/Twitter
Now playing
01:04
Suicide bombs and gun attacks rock Tehran
DOHA, QATAR - MAY 19:  In this handout image supplied by Qatar 2022,  Fireworks over Khalifa International  Stadium during the official opening ceremony of Khalifa International  Stadium on May 19, 2017 in Doha, Qatar. Qatar
DOHA, QATAR - MAY 19: In this handout image supplied by Qatar 2022, Fireworks over Khalifa International Stadium during the official opening ceremony of Khalifa International Stadium on May 19, 2017 in Doha, Qatar. Qatar's Supreme Committee for Delivery & Legacy launches Khalifa International Stadium, the first completed 2022 FIFA World Cup venue, five years before the tournament begins. (Photo by Supreme Committee for Delivery & Legacy/Qatar 2022 via Getty Images)
PHOTO: Handout/Getty Images Europe/Getty Images for Qatar 2022
Now playing
01:04
Country profile: Qatar
Now playing
01:44
Secret docs show Qatar, neighbors agreement
PHOTO: From Al Jazeera/Youtube
Now playing
01:02
Al Jazeera: 'We demand press freedom'
PHOTO: Getty Images
Now playing
01:59
Qatar defiant against Gulf States' deadline
A Qatari flag flutters near a poster of Qatar
A Qatari flag flutters near a poster of Qatar's Emir Sheikh Hamad bin Khalifa al-Thani (L) at the construction site of a residential project funded by Qatar in Khan Yunis in the southern Gaza Strip on October 22, 2012.
PHOTO: SAID KHATIB/AFP/Getty Images
Now playing
01:40
Kuwait's Emir attempts to mend rift with Qatar
PHOTO: CNN
Now playing
01:09
Qatar: Terrorism financing stories fabricated
qatari national support
qatari national support
PHOTO: CNN
Now playing
02:50
Qataris rally around their leader amid crisis
DOHA, QATAR - JANUARY 07:  The illuminate skyline of Doha is seen on January 7, 2014 in Doha, Qatar.  (Photo by Lars Baron/Getty Images)
DOHA, QATAR - JANUARY 07: The illuminate skyline of Doha is seen on January 7, 2014 in Doha, Qatar. (Photo by Lars Baron/Getty Images)
PHOTO: Lars Baron/Getty Images Europe/Getty Images
Now playing
01:18
Food, fuel and flights: How Qatar may suffer
A general view taken on June 5, 2017 shows boats sitting in the port along the corniche in Doha. 
Arab nations including Saudi Arabia and Egypt cut ties with Qatar, accusing it of supporting extremism, in the biggest diplomatic crisis to hit the region in years. / AFP PHOTO / STR        (Photo credit should read STR/AFP/Getty Images)
A general view taken on June 5, 2017 shows boats sitting in the port along the corniche in Doha. Arab nations including Saudi Arabia and Egypt cut ties with Qatar, accusing it of supporting extremism, in the biggest diplomatic crisis to hit the region in years. / AFP PHOTO / STR (Photo credit should read STR/AFP/Getty Images)
PHOTO: STR/AFP/AFP/Getty Images
Now playing
01:33
Trump claims credit for Arab rift with Qatar
qatari family limbo karadsheh pkg_00014724.jpg
qatari family limbo karadsheh pkg_00014724.jpg
Now playing
02:58
Qatar crisis threatens to tear families apart
A picture taken on June 5, 2017 shows a man standing outside the Qatar Airways branch in the Saudi capital Riyadh, after it had suspended all flights to Saudi Arabia following a severing of relations between major gulf states and gas-rich Qatar.
Arab nations including Saudi Arabia and Egypt cut ties with Qatar accusing it of supporting extremism, in the biggest diplomatic crisis to hit the region in years. / AFP PHOTO / FAYEZ NURELDINE        (Photo credit should read FAYEZ NURELDINE/AFP/Getty Images)
A picture taken on June 5, 2017 shows a man standing outside the Qatar Airways branch in the Saudi capital Riyadh, after it had suspended all flights to Saudi Arabia following a severing of relations between major gulf states and gas-rich Qatar. Arab nations including Saudi Arabia and Egypt cut ties with Qatar accusing it of supporting extremism, in the biggest diplomatic crisis to hit the region in years. / AFP PHOTO / FAYEZ NURELDINE (Photo credit should read FAYEZ NURELDINE/AFP/Getty Images)
PHOTO: FAYEZ NURELDINE/AFP/Getty Images
Now playing
02:44
Sources: Russia planted fake Qatar crisis news
DOHA, QATAR - NOVEMBER 17: The Doha Skyline at sunrise on the fifth day of the 21st ANOC General Assembly at the Sheraton Grand Hotel on November 17, 2016 in Doha, Qatar. (Photo by Mark Runnacles/Getty Images for ANOC)
DOHA, QATAR - NOVEMBER 17: The Doha Skyline at sunrise on the fifth day of the 21st ANOC General Assembly at the Sheraton Grand Hotel on November 17, 2016 in Doha, Qatar. (Photo by Mark Runnacles/Getty Images for ANOC)
PHOTO: Mark Runnacles/Getty Images Europe/Getty Images for ANOC
Now playing
02:43
Nations cut ties with Qatar
qatar relations anwar gargash uae intv defterios_00005703.jpg
qatar relations anwar gargash uae intv defterios_00005703.jpg
PHOTO: CNN
Now playing
03:26
Top UAE diplomat on rift with Qatar
WASHINGTON, DC - JUNE 01:  U.S. President Donald Trump announces his decision for the United States to pull out of the Paris climate agreement in the Rose Garden at the White House June 1, 2017 in Washington, DC. Trump pledged on the campaign trail to withdraw from the accord, which former President Barack Obama and the leaders of 194 other countries signed in 2015. The agreement is intended to encourage the reduction of greenhouse gas emissions in an effort to limit global warming to a manageable level.  (Photo by Win McNamee/Getty Images)
WASHINGTON, DC - JUNE 01: U.S. President Donald Trump announces his decision for the United States to pull out of the Paris climate agreement in the Rose Garden at the White House June 1, 2017 in Washington, DC. Trump pledged on the campaign trail to withdraw from the accord, which former President Barack Obama and the leaders of 194 other countries signed in 2015. The agreement is intended to encourage the reduction of greenhouse gas emissions in an effort to limit global warming to a manageable level. (Photo by Win McNamee/Getty Images)
PHOTO: Win McNamee/Getty Images
Now playing
04:25
Via Twitter, Trump seems to set new Qatar policy
DOHA, QATAR - JANUARY 07:  The illuminate skyline of Doha is seen on January 7, 2014 in Doha, Qatar.  (Photo by Lars Baron/Getty Images)
DOHA, QATAR - JANUARY 07: The illuminate skyline of Doha is seen on January 7, 2014 in Doha, Qatar. (Photo by Lars Baron/Getty Images)
PHOTO: Lars Baron/Getty Images Europe/Getty Images
Now playing
03:39
Qatar accused of supporting terror

Story highlights

Iran attack comes as region faces worst crisis since Iraq's invasion of Kuwait in 1991

Attack challenges Saudi narrative Iran is behind all regional terrorist violence

Editor’s Note: Simon Mabon is a lecturer in international relations of the Middle East at Lancaster University. The views expressed here are solely his.

(CNN) —  

The specter of terrorism has loomed large over the Arab Gulf states for some years, but the attack in Iran Wednesday, claimed by ISIS, suggests that the Islamic Republic is now a target.

Attackers stormed the Iranian Parliament and the mausoleum of Grand Ayatollah Ruhollah Khomeini Tuesday, killing at least 12 in attacks on two hugely symbolic sites of both the revolution and the Islamic Republic.

The Persian Gulf has long endured threats from a number of Islamist terrorist groups, which have attacked a range of targets including the Grand Mosque in Mecca, Shia mosques across the region, and the Khobar Towers complex in Khobar, but Tuesday’s attack is a first for Iran.

For Al Qaeda, the enemy was the West and other Muslims could help in this struggle. In contrast, for ISIS, Shia Muslims are a legitimate target and the growth in sectarian violence in Iraq has only served to fuel these differences.

For many rank and file ISIS members, the rafida – the derogatory name for the Shia – should have been struck in Iran much earlier, but it was the elders of the jihadi movement who urged leaders to focus upon different targets.

Security calculations are increasingly fused with political considerations across the Persian Gulf, shaping domestic politics and international relations.

Within these calculations, religion occupies a central role, affecting the two most serious threats to regional security: terrorism, and relations between the powerful six state Gulf Cooperation Council (GCC) – which includes Saudi Arabia and the UAE – and Iran.

Friends and enemies

The attack in Iran comes as tensions between members of the GCC have rapidly escalated, resulting in the most serious crisis to hit the Gulf since Iraq’s invasion of Kuwait in 1991.

On Tuesday, the Saudi daily, Al-Riyad published an op-ed that argued that “If your friend deceives you, treat him as your enemy,” reflecting the increasingly fractious tensions between Saudi Arabia and Qatar.

Following the alleged hacking of Qatar’s national media website – allegedly by Russian hackers – which revealed comments made by Sheikh Tamim about Iran and the need to normalize relations with the Lebanese military group Hezbollah, Saudi Arabia, the United Arab Emirates, Bahraini, and Egypt all withdrew their ambassadors from Qatar.

How members of GCC members engage with Islamist groups and Iran determines the nature of the organization and relations between its members.

The diplomatic spat between Qatar and the emerging Saudi-led bloc has developed as a consequence of Doha’s relationships with both Iran and a number of Islamist groups.

The Muslim Brotherhood, an 90-year-old religious and political group, has long been vocal opponents of regimes in Egypt and the UAE, and Qatar’s support for – and funding of – the Brotherhood has been viewed with a great deal of suspicion across the region.

Prominent Hamas leaders, including Khalid Meshaal, have also sought safe haven in Doha and the Qataris have also attempted to facilitate dialogue between the Taliban and the US.

It is this relationship with Islamist groups – and the Muslim Brotherhood in particular – that has shaped Emirati and Egyptian antagonisms towards Qatar.

Iran biggest concern

Yet for Saudi Arabia, it is Qatar’s approach towards Iran that is the most serious cause for concern.

Since the revolution of 1979, Riyadh and Tehran have become embroiled in a struggle to shape the Persian Gulf in their image, with religion a fig leaf to justify their activity in Iraq and Lebanon.

Since the Arab Uprisings, the two have become increasingly embroiled in proxy conflicts in Bahrain, Syria and Yemen, in addition to hostility in Iraq.

The attack in Iran seriously challenges Riyadh’s allegation that Tehran is behind all acts of terrorism in the Middle East.

Of course, such a claim is not without substance. One only has to look at Iranian support for a number of groups across the region who have used terrorism as a tactic, including Hezballah, Hamas, the Assad regime – states are complicit in terrorism too – a range of Shia militias in Iraq, and for a long period, Al Qaeda.

The two have also drawn upon the support of regional allies, yet Doha’s increasingly autonomous foreign policy agenda has been a cause of serious concern to Riyadh. It was this that caused the previous stand off between Saudi Arabia and Qatar in 2014.

In Qatar’s support, Turkish President Recep Erdogan sent troops and food to Doha whilst strongly rejecting claims that the country had supported terrorism. There was also the suggestion that Iran may also provide food, which will fuel the suggestion about a burgeoning rapprochement between the two Gulf neighbors.

Of course, any further movement towards Iran will add to Qatar’s isolation from the GCC and also the US, as President Donald Trump has been vocal in support for Saudi Arabia.

It appears that almost 40 years after the formation of the GCC, Saudi Arabia is increasingly of the opinion that its friend is deceiving them and that Qatar must be treated like an enemy.

Simon Mabon is a lecturer in international relations of the Middle East at the Lancaster University. The views expressed here are solely his.