Iran's new president, Masoud Pezeshkian, began a visit to Iraq on Wednesday, aiming to deepen already close ties with the neighbouring country on his first trip abroad since taking office.
The three-day trip comes amid turmoil in the Middle East sparked by the war in Gaza, which has drawn in Iran-backed armed groups around the region and complicated Iraq's relations with the United States.
"Prime Minister Mohammed Shia al-Sudani welcomes the president of the Islamic Republic of Iran, Masoud Pezeshkian," the Iraqi premier's office said in a brief statement alongside a picture of the two men shaking hands on the tarmac at Baghdad airport.
Pezeshkian has vowed to make relations with neighbouring countries a priority as he seeks to ease Iran's international isolation and mitigate the impact of US-led sanctions on its economy.
His visit comes after Western powers on Tuesday announced fresh sanctions on Iran for supplying Russia with short-range missiles for use against Ukraine.
Iranian foreign ministry spokesman Nasser Kanani warned Britain, France and Germany that they "will face the appropriate and proportionate action" for the "hostile" move.
Hours before Pezeshkian's arrival, an explosion rocked a base at the airport used by a US-led anti-jihadist coalition, Iraqi security officials said.
A spokesperson for the Iranian-backed Hezbollah Brigades in Iraq said Tuesday night's "attack" aimed to "disrupt the Iranian president's visit".
Ties between Iran and Iraq, both Shiite-majority countries, have grown closer since the US-led invasion of 2003 toppled the Sunni-dominated regime of Iraqi dictator Saddam Hussein.
"Iraq is one of our friends, brothers and Muslim countries," Pezeshkian said before leaving Iran, according to footage aired on Iranian state television.
"And for this reason, we will go to this country as the first trip," he added.
Pezeshkian, who took office in July after an early election following the death of his predecessor Ebrahim Raisi in a helicopter crash, has previously linked shoring up ties to sanctions pressure.
"Relations with neighbouring countries... can neutralise a significant amount of pressure of the sanctions," he said last month.
Iran has suffered years of crippling Western sanctions, especially after its arch-foe the United States, under then-president Donald Trump, unilaterally abandoned a landmark nuclear deal between the Islamic republic and major powers in 2018.
Pezeshkian has made the top diplomat who negotiated the 2015 deal, Mohammad Javad Zarif, his vice president for strategic affairs as part of his bid for a more open Iran.
Iran has become one of Iraq's leading trade partners, and wields considerable political influence in Baghdad, where its Iraqi allies dominate parliament and the current government.
Every year, millions of Iranian pilgrims travel to Iraq's Shiite holy cities of Najaf and Karbala, and Pezeshkian will also visit the shrines there during his visit.
Non-oil trade between Iran and Iraq stood at nearly $5 billion over the five months from March 2024, Iranian media reported.
Iran also exports millions of cubic metres of gas a day to Iraq to fuel its power plants, under a regularly renewed waiver from US sanctions.
Iraq is billions of dollars in arrears on its payments for the imports, which cover 30 percent of its electricity needs.
Political scientist Ali al-Baidar said expanding trade ties was a major goal of Pezeshkian's visit.
"Iran needs the Iraqi market for its exports, just as it needs Iraq's energy imports," the Iraqi analyst said.
Washington still has around 2,500 troops in Iraq and 900 in neighbouring Syria as part of an international coalition against the Islamic State jihadist group.
Last winter, US-led coalition forces in both Iraq and Syria were targeted dozens of times with drones and rocket fire as violence related to the Israel-Hamas war in Gaza has drawn in Iran-backed armed groups across the Middle East.
The barrage of attacks triggered retaliatory US air strikes in both countries.
On Sunday, Iraqi Defence Minister Thabet al-Abbassi told pan-Arab television channel Al-Hadath that the US-led coalition would pull out of most of Iraq by September 2025 and the Kurdish autonomous region by September 2026.
Despite months of talks, the target dates have yet to be agreed between Baghdad and Washington.
Pezeshkian will also travel to the Kurdish regional capital Arbil for talks with Kurdish officials, Iran's official IRNA news agency said.
In March last year, Tehran signed a security agreement with the federal government in Baghdad after launching air strikes against bases of Iranian Kurdish rebel groups in the autonomous region.
They have since agreed to disarm the rebels and remove them from border areas.