Iraq’s parliament has voted to expel the U.S. military from the country.

Lawmakers voted Sunday in favor of a resolution that calls for ending foreign military presence in the country. The resolution’s main aim is to get the U.S. to withdraw some 5,000 U.S. troops present in different parts of Iraq.

Developing Today: Al-Shabab attacks military base used by US forces in Kenya

The vote comes two days after a U.S. airstrike killed Iranian Gen. Qassem Soleimani inside Iraq, dramatically increasing regional tensions.

The Iraqi resolution specifically calls for ending an agreement in which Washington sent troops to Iraq more than four years ago to help in the fight against the Islamic State group.

The resolution was backed by most Shiite members of parliament, who hold a majority of seats.

Many Sunni and Kurdish legislators did not show up for the session, apparently because they oppose abolishing the deal.

Copyright 2024 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

Join our Newsletter for the latest news right to your inbox