TEHRAN-The top U.S. commander for the Middle East slipped quietly into Iraq Tuesday, as the Trump administration works to salvage relations with Iraqi leaders and shut down the government’s push for an American troop withdrawal.

Marine Gen. Frank McKenzie became the most senior U.S. military official to visit since an American drone strike in Baghdad last month killed a top Iranian general, enraging the Iraqis.

McKenzie met with Iraq leaders in Baghdad and then went to see American troops at al-Asad Air base, which was bombed by Iran last month in retaliation for the drone attack. Later, he s aid he was “heartened” by the meetings, adding, “I think we’re going to be able to find a way forward.”

His visit comes amid heightened anti-American sentiment that has fueled violent protests, rocket attacks on the embassy and a vote by the Iraqi parliament pushing for withdrawal of U.S. troops from the country. And it raises questions about whether the appearance of a high-profile U.S. military commander could spur compromise, or simply inflame tensions and scuttle ongoing negotiations to put Patriot missile batteries in Iraq to better protect coalition forces.

Two reporters traveling with McKenzie for the past two weeks around the Middle East did not go with him into Iraq because they didn’t have required visas. Speaking to The Associated Press and Washington Post reporters after he returned, McKenzie said it’s difficult to predict how the discussions will turn out, particularly because the government is in transition.

While he met with outgoing Prime Minister Adel Abdul-Mahdi, President Barham Saleh, and speaker of the House Mohammed al-Halbousi, he did not see the Prime Minister-designate Mohammed Allawi.

He said the U.S.-led coalition in Iraq believes that future military presence in the country must be based on the threat from Islamic State militants, in consultation with the Iraqi government.

Right now, he acknowledged that due to the current strain in relations, joint military operations and training between the U.S. and the Iraqis have been scaled back. He said there is “some training” and that U.S. special operations forces are doing missions with Iraqi commandos. But, he said, “we’re still in a period of turbulence. We’ve got a ways to go.”

Top U.S. leaders have so far flatly dismissed Iraqi demands for U.S. troops to leave, adopting what appears to be a wait-and-see attitude with the hope that the problems will pass.

Iraqis, however, were furious over the drone strike at Baghdad’s international airport on Jan. 3 that targeted and killed QassemSuleimani, Iran’s most powerful general, but also struck down an Iraq general who was with him. The Iraqi, Abu Mahdi al-Muhandis, was the deputy commander of Iran-backed militias known as the Popular Mobilization Forces.