Iraq Parliament has voted for a resolution to end foreign military presence in the country, prompting President Donald Trump to raise his warnings of sanctions on Baghdad.

The resolution, passed on Sunday, Jan. 5, specifically calls for ending an agreement in which the United States sent troops to Iraq more than four years ago to help fight ISIS terrorist group, The Associated Press reported.

Accordingly, Iraqi lawmakers want to expel some 5,000 U.S. troops from their country.

Most of the Shiite members, hold a majority of the seats in the Parliament, backed the resolution, while many Sunni and Kurdish members did not show up for the special session of Parliament, likely because they oppose abolishing the deal.

The vote came two days after the United States killed Iranian Gen. Qassem Soleimani, head of the Islamic Revolutionary Guard Corps’ elite Quds Force, with an airstrike at the Baghdad airport.

President Trump released his response after Iraqi lawmakers called on U.S. troops to leave, saying Baghdad would be charged with sanctions.

“We have a very extraordinarily expensive air base that’s there. It cost billions of dollars to build, long before my time. We’re not leaving unless they pay us back for it,” Reuters quoted President Trump who told reporters on Air Force One on Sunday.

The president said if Iraq asked U.S. troops to leave on an unfriendly basis, “we will charge them sanctions like they’ve never seen before ever. It’ll make Iranian sanctions look somewhat tame.”

President Trump on Sunday also sent another warning to Iran, saying the United States—the biggest and by far the best in the world—would unleash $2 trillion worth of new military equipment if Tehran attacks U.S. targets.

“The United States just spent Two Trillion Dollars on Military Equipment. We are the biggest and by far the BEST in the World! If Iran attacks an American Base, or any American, we will be sending some of that brand new beautiful equipment their way … and without hesitation!” President Trump tweeted.

The warning came after Iran vowed to retaliate against the United States for Soleimani’s death.