Thousands of mourners have marched in a funeral procession through Baghdad for Iran's top general and Iraqi militant leaders, who were killed in a US air strike.
General Qassem Soleimani, the head of Iran's elite Quds force and mastermind of its regional security strategy, was killed in an air strike early Friday near the Iraqi capital's international airport that has caused regional tensions to soar.
Iran has vowed harsh retaliation, raising fears of an all-out war. US President Donald Trump says he ordered the strike to prevent a conflict, his administration saying Soleimani was plotting a series of attacks that endangered American troops and officials, without providing evidence.
Washington has dispatched 3000 troop reinforcements to the region.
Soleimani was the architect of Iran's regional policy of mobilising militias across Iraq, Syria and Lebanon, including in the war against the Islamic State group. He was also blamed for attacks on US troops and American allies going back to the 2003 invasion of Iraq.
The mourners, mostly men in black military fatigues, on Saturday carried Iraqi flags and the flags of Iran-backed militias that are fiercely loyal to Soleimani.
They were also mourning Abu Mahdi al-Muhandis, a senior Iraqi militia commander who was killed in the same strike.
The procession began at the Imam Kadhim shrine in Baghdad, one of the most revered sites in Shi'ite Islam. Mourners marched in the streets alongside militia vehicles in a solemn procession.
Two helicopters hovered over the procession, which was attended by Prime Minister Adel Abdul-Mahdi and leaders of Iran-backed militias.
Iraq, which is closely allied with both Washington and Tehran, condemned the air strike that killed Soleimani and called it an attack on its national sovereignty.
Parliament is to meet for an emergency session on Sunday, and the government has come under mounting pressure to expel the 5200 American troops based in the country, who are there to help prevent a resurgence of the Islamic State group.
The US has ordered all citizens to leave Iraq and closed its embassy in Baghdad, where Iran-backed militiamen and their supporters staged two days of violent protests earlier this week in which they breached the compound.
The British government has warned travellers not to go anywhere in the country except for the semi-autonomous Kurdish region, and there only for trips considered essential.
In its advisory, the Foreign and Commonwealth Office said the security situation "could deteriorate quickly," saying citizens already in Iraq should consider leaving.
No one was hurt in the embassy protests, which came in response to US air strikes that killed 25 Iran-backed militiamen in Iraq and Syria.
The US said the strikes were in response to a rocket attack that killed a US contractor in northern Iraq, which Washington blamed on the militias.
The killing of Soleimani comes after months of rising tensions between the US and Iran stemming from Trump's decision to withdraw from the 2015 nuclear deal and restore crippling sanctions.
Global powers had warned Friday that the killing of Soleimani could spark a dangerous new escalation, with many calling for restraint.
In Saudi Arabia, a longtime foe of Iran, the English-language daily Arab News printed a front-page editorial showing Soleimani's face, headlined: "He will kill no more."
Last year, the newspaper promoted the idea of "surgical" US air strikes on Iran after a drone attack on an oil pipeline in May.
Adel al-Jubeir, the Saudi minister of state for foreign affairs, took to Twitter to reiterate the kingdom's call for "self-restraint" to avoid "unbearable consequences".