US President Donald Trump said Friday that he supports Iraqi Prime Minister Ali al-Zaidi’s efforts to bring the country’s oil and weapons under state control, as Baghdad faces tensions with the Kurdistan Region and Iran-backed militants.

“We support Iraqi Prime Minister Ali al-Zaidi’s efforts to assert state authority throughout Iraq, stop the smuggling of Iraqi oil, end corruption, and bring all weapons under the exclusive control of the state,” Trump wrote on Truth Social.

“We support Prime Minister al-Zaidi’s efforts to build a united, prosperous, and strong Iraq that makes its own political decisions,” he added.

Al-Zaidi, a 41-year-old Iraqi businessman, took office in May amid the US-Iran war. He quickly began an anti-corruption campaign aimed at consolidating control of the country’s oil and arms under the state, as Iran-backed militias were firing at US interests.

Al-Zaidi has the support of Tom Barrack, the US Special Envoy for Iraq, who is close to Trump and considered influential in regional US policy. “Al-Zaidi has forged a very, very strong relationship with Tom Barrack, who has the president’s ear,” Hamdi Malik, an associate fellow at The Washington Institute think tank and founder of Iraq Monitor, told CNN.

In June, al-Zaidi “reaffirmed Iraq’s commitment to deepening trade and investment relations” with the US and to allowing US oil companies to resume operations “with full security guarantees,” according to a joint statement. The following month, Trump welcomed him to the White House, calling him “a great fighter” and “a great fan of America.”

Trump’s post comes as tensions rise between Baghdad and the semi-autonomous Kurdistan Region of Iraq. On Friday, state media reported that Iraq had declared crude exports outside the state oil company SOMO to be “smuggling” if revenues do not enter the state treasury.

Iraqi authorities estimate that oil exports from the Kurdistan Region cost Baghdad more than $100 billion in revenue between 2008 and 2025, Iraqi government spokesman Haider al-Aboudi said.

The Kurdistan Region, also known as Iraqi Kurdistan, is rich in oil and has long sought self-determination. It has been involved in disputes with Baghdad over oil and trade for years.

On Thursday, Baghdad ordered the closure of all “unofficial” border crossings administered by the Kurdistan Region’s government, including crossings with Syria and Iran. Demonstrations also broke out that day over what Kurdish leaders regard as an infringement of the region’s rights by Baghdad.

The Kurdistan Region’s two rival parties issued a rare joint statement protesting Baghdad’s decision to take over oil fields and border crossings, calling it “a red line,” the Erbil-based Kurdish broadcaster Rudaw reported.

Trump’s message also put pressure on Iraq’s Iran-backed militants, which have yet to bring their weapons under state control. Iraqi forces and the heavily armed Kataib Hezbollah militant group clashed last week after government troops deployed to the group’s stronghold town of Jurf al-Sakhar. The town is one of the focal points of al-Zaidi’s sweeping anti-corruption campaign.

Malik said Trump’s post was an unusual way of conducting politics, making the US position “clear” to Iraqis and Kurds.