The Iranian state news agency on Wednesday blamed Saudi Arabia for the ISIS terror attack on the country’s parliament building and a shrine to the late Ayatollah Khomeini.

The Fars news service said Saudi Foreign Minister Adel al-Jubeir had said that Iran needed to be punished for what he claimed was the country’s support for terrorist organizations just hours before a pair of attacks that killed at least 12 people.

“The assailants entered the parliament in women’s dress and through the special visitors gate, started the shooting spree and entered the area, causing fear and horror,” Iranian Deputy Interior Minister Hossein Zolfaqari said on state-run TV, the Jewish Press reported.

ISIS claimed responsibility for the attacks, and posted video from inside the parliament building.

“In the first minutes of the attack, the Islamic Revolution Guards Corps forces entered the scene and gained control of the floor and main area of the parliament building,” Zolfaqari said.

Four terrorists fired at the parliament’s guards, killing five and wounding 25 on Wednesday morning.

Four were killed at the site, and a fifth died later at a hospital. Ten of the wounded victims were civilians.

Militants raided the Khomeini shrine, killing at least two and wounding 10 others in suicide bomb attacks and a shooting spree.