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.

An expulsion of U.S. forces would move them out of harm’s way while simultaneously easing the burden on Iraqi security forces that are responsible for ensuring their safety.

President Trump has threatened Iraq with severe sanctions should it carry out the expulsion of American forces. “We will charge them sanctions like they’ve never seen before, ever. It’ll make Iranian sanctions look somewhat tame.” Additionally, he has demanded that the Iraqis pay the U.S. for its airbase.