Iraq’s Supreme Judicial Council has issued arrest warrants for 20 people accused of involvement in a deadly blast in the Baghdad stronghold of Shi’ite cleric Moqtada al-Sadr, whose bloc won an election marred by fraud accusations, state TV reported.

The orders came a week after the blast killed at least 18people and wounded more than 90 in the Sadr City district. The interior ministry said an ammunitions cache had exploded and called it “a terrorist aggression on civilians”.

Nationalist Sadr and Iranian-backed paramilitary chief Hadial-Amiri, who won first and second place respectively in the Mayvote, announced on Tuesday an alliance between their blocs.

The alliance announced from the Shiite Muslim holy city of Najaf is the first serious step towards forming a new government after weeks of negotiations between parties.

It could also ease tensions that some Iraqi officials fear could lead to an intra-Shi’ite civil war. Amiri, widely described as Tehran’s man in Iraq, is one of the most powerful figures in the country, a key US ally and major oil producer.

The election has been a test for both Sadr and Iran.

Tehran is under pressure to maintain its deep influence in Iraq – its most important Arab ally – after the United States pulled out of the nuclear deal, and its Houthi allies in Yemen face the biggest offensive yet from a Saudi-led coalition.

Middle East powers Tehran and Saudi Arabia are waging a proxy war mainly in Iraq, Yemen and Syria.

Sadr, who once led violent campaigns against the US occupation that ended in 2011, has emerged as a nationalist opponent of powerful Shiite parties allied with neighbouring Iran and as a champion of the poor.

He has to tread carefully.

Tehran, known for its pragmatism, has skill fully manipulated the formation of Iraq governments in the past and its militia allies are the most powerful forces in the country.

The Sadr-Amiri alliance may serve the purposes of the most powerful sides in Iraq politics as the country tries to rebuild from the devastating war against Islamic State.