A few hours before the embassy attack, members of the Basij student militia -- connected to Iran's elite Revolutionary Guards -- demonstrating on Saturday in front of the Saudi consulate in the northeast Iranian city of Mashhad.

The militia reportedly attempted to set part of the building ablaze, according to a local Iranian news agency website.

Among the 47 terrorism convicts executed were Fares al-Shuwail, said to be a high ranking member of Al Qaeda, and Shiite preacher Nimr al-Nimr.

The execution of Nimr was criticized by Ayatollah Ahmad Khatami, a prominent Iranian cleric and a member of the Assembly of Experts, who predicted repercussions following the preacher's execution.

On Sunday Bahrain's Foreign Ministry condemned the storming of the Saudi embassy, while Jordan described the attack as a "flagrant violation of international law." An Iranian official said 40 people were arrested over the attack.