FILE - In this Dec. 26, 2018, file photo, President Donald Trump speaks to members of the military at a hangar rally at Al Asad Air Base, Iraq. President Donald Trump tells troops serving in Iraq that he got them their first pay raise in 10 years and it’s a big one. No, and not exactly. (AP Photo/Andrew Harnik, File)

BAGHDAD | President Donald Trump’s surprise visit to Iraq may have hush criticism at home that he had yet to meet with troops in a combat zone, but it has enraged Iraqi politicians who on Thursday demanded the withdrawal of U.S. forces.

FILE – In this Dec. 26, 2018, file photo, President Donald Trump speaks to members of the military at a hangar rally at Al Asad Air Base, Iraq. President Donald Trump tells troops serving in Iraq that he got them their first pay raise in 10 years and it’s a big one. No, and not exactly. (AP Photo/Andrew Harnik, File)
FILE – In this Dec. 26, 2018, file photo, President Donald Trump speaks to members of the military at a hangar rally at Al Asad Air Base, Iraq. President Donald Trump tells troops serving in Iraq that he got them their first pay raise in 10 years and it’s a big one. No, and not exactly. (AP Photo/Andrew Harnik, File)

“Arrogant” and an “a violation of national sovereignty” were some examples of the disapproval emanating from Baghdad following Trump’s visit Wednesday with U.S. servicemen and women at the al-Asad Airbase.

Trips by U.S. presidents to conflict zones are usually covered in secrecy and subject to strict security protocols, and Trump’s was no exception. Few in Iraq or elsewhere knew the U.S. president was in the country until minutes before he left.

But this trip came as stemming foreign influence in Iraqi affairs has become a hot-button political issue, and Trump’s perceived presidential faux-pas was failing to meet with the prime minister in a shift from diplomatic custom for any visiting head of state.

On the ground for only about three hours, the American president pronounced to the men and women with the U.S. military that Islamic State forces have been vanquished, and he defended his decision against all advice to withdraw U.S. troops from neighboring Syria, He declared: “We’re no longer the suckers, folks.”

The abruptness of his visit left lawmakers in Baghdad reeling and drawing unfavorable comparisons to the occupation of Iraq after the 2003 invasion.

“Trump needs to know his limits. The American occupation of Iraq is over,” said Sabah al-Saidi, the head of one of two main blocs in Iraq’s parliament.

Trump, he said, had slipped into Iraq, “as though Iraq is a state of the United States.”

While Trump didn’t convene with any officials, he spoke with Prime Minister Adel Abdul-Mahdi by phone after a “difference in points of view” over arrangements led to a face-to-face encounter between the two leaders getting canned, according to the prime minister’s office.

The visit could lead to unintended consequences for American policy, with officials from both sides of Iraq’s political divide calling for a vote in Parliament to expel U.S. forces from the country.

The president, who kept to the U.S. air base approximately 60 miles west of Baghdad, said he had no plans to withdraw the 5,200 troops in the country. He said Ain al-Asad could be used for U.S. air strikes inside Syria.

The suggestion ran counter to the current sentiment of Iraqi politics, which favors claiming sovereignty over foreign and domestic policy and staying above the fray in regional conflicts.

“Iraq should not be a platform for the Americans to settle their accounts with either the Russians or the Iranians in the region,” said Hakim al-Zamili, a senior lawmaker in al-Saidi’s Islah bloc in Parliament.

U.S. troops are stationed in Iraq as part of the coalition against the Islamic State group. American forces withdrew in 2011 after invading in 2003 but returned in 2014 at the invitation of the Iraqi government to help fight the jihadist group. Trump’s visit was the first by a U.S. president since Barack Obama met with then-Prime Minister Nouri al-Maliki at a U.S. base outside Baghdad in 2009.

The Associated Press is an independent, not-for-profit news cooperative of 1,300 newspapers, including The Sentinel, headquartered in New York City. News teams in over 100 countries tell the world’s...