In an emergency session following the death of Iranian Major General Qassem Soleimani, Iraq’s parliament voted to expel all American troops from their country.

While the vote is non-binding, Prime Minister Adil Abdul-Mahdi has voiced his support for the move. Expressing his thanks for American aid in the fight against the Islamic State, Abdul-Mahdi said it was now time for U.S. troops to leave Iraq permanently.

There are roughly 5,200 American soldiers, along with some allied troops, currently stationed in the country as part of the anti-ISIS campaign.

The parliamentary session saw many Sunni and Kurdish members of parliament boycotting it; Shi’ite parties nevertheless had enough seats to carry the vote.

The resolution now needs to be approved by the Iraqi government, which could take some time. Abdul-Mahdi resigned in November following mass protests and is currently serving in a caretaking capacity. The implementation of the vote will most likely be left to his successor, should he wish to enact it.

With popular ire at record heights and the lack of an existential threat like the Islamic State, it’ll be difficult for a future prime minister to oppose such a resolution.