The United States rejected a request by Iraq to start talks on pulling out its 5,200 troops, notching up the discord after Washington killed a top Iranian general in Baghdad.

Angry at an attack seen as violating Iraqi sovereignty and enmeshing the country again in war, Iraq’s caretaker Prime minister asked Secretary of State Mike Pompeo late Thursday to send a delegation to begin withdrawal arrangements.

The State Department said it was ready for “a conversation” — but not about removing troops.

“At this time, any delegation sent to Iraq would be dedicated to discussing how to best recommit to our strategic partnership — not to discuss troop withdrawal, but our right, appropriate force posture in the Middle East,” State Department spokeswoman Morgan Ortagus said in a statement.

Calling the United States “a force for good,” she said: “We want to be a friend and partner to a sovereign, prosperous and stable Iraq.”

President Donald Trump has described the 2003 US invasion of Iraq as a mistake and in the past criticized US troop deployments, in Iraq and elsewhere, as wasteful.

Nonetheless, he has responded angrily to Iraqi efforts to expel US troops, even threatening sanctions on a country promoted as a US partner.

Pompeo, speaking to reporters, said that US troops mission in Iraq was “very clear” — training local forces and fighting the Islamic State extremist group.

“As times change and we get to a place where we can deliver up on what I believe, and the president believes, is our right structure, with fewer resources dedicated to that mission, we will do so,” he said.