Iraq is trying to convince powerful armed factions in the country that have fought US forces and fired rockets and drones at Israel to lay down their weapons or join official security forces, Foreign Minister Fuad Hussein said.
The push comes with a backdrop of seismic shifts in the Middle East that have seen Iran's armed allies in Gaza and Lebanon heavily degraded and Syria's government overthrown.
The incoming US Trump administration promises to pile more pressure on Tehran, which has long backed a number of political parties and an array of armed factions in Iraq.
Some Baghdad officials are concerned the status quo there may be upended next, but Hussein played this down in an interview with Reuters during an official visit to London.
"We don't think that Iraq is the next," Hussein said.
The government was in talks to rein in the groups while continuing to walk the tightrope between its ties to both Washington and Tehran, he said.
"Two or three years ago it was impossible to discuss this topic in our society," he said.
But now, having armed groups functioning outside the state was not acceptable.
"Many political leaders, many political parties started to raise a discussion, and I hope that we can convince the leaders of these groups to lay down their arms, and then to be part of the armed forces under the responsibility of the government," Hussein said.
Iraq's balancing act has been tested by Iran-backed Iraqi armed groups' attacks on Israel and on US troops in the country they say are in solidarity with Palestinians during the Israel-Hamas war.
A promised Gaza ceasefire has the government breathing a sigh of relief, though uncertainty prevails over how the country may fare after Donald Trump becomes US president.
During the last Trump presidency, relations grew tense as he ordered the assassination of Iranian General Qassem Soleimani in Baghdad in 2020, leading to an Iranian ballistic missile attack on an Iraqi base housing US forces.
"We hope that we can continue this good relationship with Washington," Hussein said. "It is too early now to talk about which policy President Trump is going to follow for Iraq or Iran."
Iraq will only be reassured about Syria when it sees an inclusive political process, Hussein said, adding Baghdad would supply the country with grain and oil once it could be assured it would go to all Syrians.
Baghdad was in talks with Syria's foreign minister over a visit to Iraq, he said.
"We are worried about the ISIS, so we are in contact with the Syrian side to talk about these things, but at the end to have a stable Syria means to have the representative of all components in the political process."
Baghdad and Washington last year agreed to end the US-led coalition's work by September 2026 and transition to bilateral military ties, but Hussein said that the developments in Syria would have to be watched.
"In the first place, we are thinking about security of Iraq and stability in Iraq. If there will be a threat to our country, of course it will be a different story," he said.