Iraqis, answering a call from powerful Shiite cleric Moqtada al-Sadr, protested outside an entrance to Baghdad’s heavily fortified Green Zone, where the government is headquartered. (Haidar Mohammed Ali/AFP/Getty Images)

Iraqi Prime Minister Haider al-Abadi desperately tried to steer his country out of political turmoil on Tuesday, partially reshuffling his cabinet amid stepped-up pressure as thousands of protesters threatened to storm parliament.

The demonstrators, answering a call from the outspoken Shiite cleric Moqtada al-Sadr, had gathered at the gates of Baghdad’s fortified Green Zone, where parliament is located, demanding a new government. Women and children in the crowd were sent home as organizers said they would break through its perimeter if reforms were not enacted.

The political unrest has brought a new level of instability to a country that is facing multiple crises, including the fight against the Islamic State militant group and the struggling economy. The United Nations has warned that the upheaval would further embolden the militants.

Abadi has been trying to replace his ministers to appease the street, but he has been hampered for more than a month by chaos in parliament, where sessions have broken down into arguments and scuffles before voting can take place.

Iraq's Prime Minister Haider al-Abadi is shown attending parliament in Baghdad on Tuesday in this still image from Iraqiya TV. (Reuters Tv/Reuters)

Tuesday was no different, as a group of rebel lawmakers who claim to have voted out the speaker in a session earlier this month that others deemed illegal protested his presiding over the proceedings.

“Void, void!” they shouted as they surrounded Salim al-Jubouri during the session, banging on desks. Jubouri had arrived for the session with a large security detail.

The prime minister, who had come to present his proposed list for the cabinet reshuffle, left the session during the chaos. Some members of parliament said water bottles were thrown at him before he exited.

As the protesters thronged outside parliament, journalists were told to leave for security reasons and were bused out.

Lawmakers then proceeded to hold another session in a separate room. Rebel lawmakers who had disrupted the earlier session — some of whom are affiliated with former prime minister Nouri al-Maliki, who has been accused of working against his successor — claim they were not allowed in.

“They locked the doors and didn’t allow us to enter,” Haitham al-Jabouri said in a video address filmed on a cellphone and posted online. “They have a small army outside the room, and this small army didn’t allow us to reach this door.”

They claimed the session, in which the remaining lawmakers voted to replace five ministers, was illegal.

But the move appeared to give Abadi a temporary reprieve.

Kadhim al-Issawi, a military commander for Sadr’s Peace Brigades militia, addressed the crowd outside parliament and called the partial reshuffle a positive “first step.”

“You have started this change,” he said. “It’s only a partial change. It doesn’t satisfy us. But we accept it as a first step.”

Abadi is performing a precarious balancing act: Attempting to clamp down on corruption in response to the struggling economy and the demonstrations risks the wrath of powerful political players with vested interests. Meanwhile, ordinary Iraqis have protested his attempts to trim public workers’ salaries to cut a bloated wage bill.

“We are here to protest against those who stole our rights and our money,” said one protester outside parliament who was interviewed on Iraqi television. “We will get them out of the Green Zone by force.”