Iran and Iraq have signed an agreement to step up military co-operation and the fight against "terrorism and extremism", Iranian media reports, an accord which is likely to raise concerns in Washington.
Iranian Defence Minister Hossein Dehghan and his Iraqi counterpart Erfan al-Hiyali signed a memorandum of understanding which also covered border security, logistics and training, the official news agency IRNA reported.
"Extending cooperation and exchanging experiences in fighting terrorism and extremism, border security, and educational, logistical, technical and military support are among the provisions of this memorandum," IRNA reported after the signing of the accord in Tehran.
Iran-Iraq ties have improved since Iran's long-time enemy Saddam Hussein was toppled in 2003 and an Iraqi government led by Shi'ite Muslims came to power. Iran is mostly a Shi'ite nation.
US President Donald Trump has voiced concern over what he sees as growing Iranian influence in conflicts in Syria, Yemen and Iraq, where it is aligned with Shi'ite fighters.
Tensions between Iran and the United States have heightened since the election of Trump, who has often accused Tehran of backing militant groups and destabilising the region.
Earlier this month, Trump said that new threats were emerging from "rogue regimes like North Korea, Iran and Syria and the governments that finance and support them".
The US military has accused Iran of stoking violence in Iraq by funding, training and equipping militias. Iran denies this, blaming the presence of US troops for the violence.