President Donald Trump warned Saturday that the US is targeting 52 sites in Iran and will hit them "very fast and very hard" if the Islamic republic attacks American personnel or assets.

In a saber-rattling tweet that defended Friday's US drone strike assassination of a powerful Iranian general in Iraq, Trump said 52 represents the number of Americans held hostage at the US embassy in Tehran for more than a year starting in late 1979.

Top Iranian commander Qasem Soleimani, who heads the Islamic Revolutionary Guard Corps' Quds Force and serves as Iran's pointman on Iraq, has reportedly been killed in a strike
Top Iranian commander Qasem Soleimani, who heads the Islamic Revolutionary Guard Corps' Quds Force and serves as Iran's pointman on Iraq, has reportedly been killed in a strike KHAMENEI.IR / -

Trump said some of these sites are "at a very high level & important to Iran & the Iranian culture, and those targets, and Iran itself, WILL BE HIT VERY FAST AND VERY HARD. The USA wants no more threats!"

Late Saturday night, the president tweeted again, this time warning Iran that the US will hit Iran "harder than they have ever been hit before!"

Trump followed up with another tweet, saying the US would use its "brand new beautiful" military equipment "without hesitation" if the Iranians retaliate.

Supporters of Iraq's Hashed al-Shaabi force were protesting  outside the US embassy in Baghdad on January 1
Supporters of Iraq's Hashed al-Shaabi force were protesting outside the US embassy in Baghdad on January 1 AFP / AHMAD AL-RUBAYE

Trump spoke out after pro-Iran factions ramped up pressure on US installations across Iraq with missiles and warnings to Iraqi troops -- part of an outburst of fury over the killing of Qasem Soleimani, described as the second most-powerful man in Iran.

With the Islamic republic promising revenge, his killing was the most dramatic escalation yet in spiraling tensions between Washington and Tehran and has prompted fears of a major conflagration in the Middle East.

Map of Baghdad locating the international airport where a top Iranian commander and an Iraqi militia leader have been killed in an attack, according to Hashed al-Shaabi.
Map of Baghdad locating the international airport where a top Iranian commander and an Iraqi militia leader have been killed in an attack, according to Hashed al-Shaabi. AFP / Jonathan WALTER

In the first hints of a possible retaliatory response, two mortar rounds hit an area near the US embassy in Baghdad on Saturday, security sources told AFP.

Almost simultaneously, two rockets slammed into the Al-Balad airbase where American troops are deployed north of Baghdad, security sources said.

The Iraqi military confirmed the missile attacks in Baghdad and on al-Balad and said there were no casualties. The US military also said no coalition troops were hurt.

The US embassy in  Baghdad was damaged by Hashed supporters who stormed the building earlier this week and laid siege to it for just over a day
The US embassy in Baghdad was damaged by Hashed supporters who stormed the building earlier this week and laid siege to it for just over a day AFP / AHMAD AL-RUBAYE

With Americans wondering fearfully if, how and where Iran will hit back for the assassination, the US Department of Homeland Security issued a bulletin that said "at this time there is no specific, credible threat against the homeland."

However on Saturday the website of the Federal Depository Library Program, a little-known US government agency, was breached by a group claiming to be linked to Iran, who posted graphics displaying the Iranian flag and vowing revenge for Soleimani's death.

Hundreds of Hashed supporters stormed the high-security Green Zone and besieged the US embassy on Tuesday, hurling rocks, setting fires and spraying graffiti
Hundreds of Hashed supporters stormed the high-security Green Zone and besieged the US embassy on Tuesday, hurling rocks, setting fires and spraying graffiti AFP / AHMAD AL-RUBAYE

Separately, US Speaker of the House Nancy Pelosi said in a statement that information given to Congress by Trump, a Republican, "prompts serious and urgent questions about the timing, manner and justification of" the strike.

"The Trump Administration's provocative, escalatory and disproportionate military engagement continues to put service members, diplomats and citizens of America and our allies in danger," said Pelosi, a Democrat.

Another prominent democrat, Alexandria Ocasio-Cortez, called the president a "monster", for "threatening to target and kill innocent families, women and children".

Map of Baghdad locating the international airport where a top Iranian commander and an Iraqi militia leader have been killed in an attack, according to Hashed al-Shaabi.
Map of Baghdad locating the international airport where a top Iranian commander and an Iraqi militia leader have been killed in an attack, according to Hashed al-Shaabi. AFP / Jonathan WALTER

In a tweet, she said: "This is a war crime."

Top Iranian commander Qasem Soleimani was killed in a US strike on Baghdad's international airport in a dramatic escalation of tensions between the two countries
Top Iranian commander Qasem Soleimani was killed in a US strike on Baghdad's international airport in a dramatic escalation of tensions between the two countries IRIB /

While no one claimed Saturday's attacks in Baghdad, a hardline pro-Iran faction in Iraq's Hashed al-Shaabi military network shortly after urged Iraqis to move away from US forces by Sunday at 5:00 pm local time (1400 GMT).

The deadline would coincide with a parliament session which the Hashed has insisted should see a vote on the ouster of US troops.

Washington has blamed the vehemently anti-American group for a series of rocket attacks in recent weeks targeting US diplomats and troops stationed across Iraq.

Many fear the US strike that killed Iran's military mastermind Soleimani would set off a wider conflict with Iran, and have braced for more attacks.

"This is no longer a proxy war," said Erica Gaston, a non-resident fellow at the New America Foundation.

"What you have is America attacking an Iranian general directly, and groups are now openly fighting for Iran to avenge him. This is a direct war," she told AFP.

The US strike on Baghdad international airport early Friday killed a total of five Iranian Revolutionary Guards and five members of Iraq's Hashed.

Among the dead was Hashed's deputy head Abu Mahdi al-Muhandis, a top adviser and personal friend to Soleimani.

As head of the Guards' foreign operations arm, the Quds Force, Soleimani was a powerful figure domestically and oversaw Iran's wide-ranging interventions in regional power struggles.

Trump has said Soleimani was planning an "imminent" attack on US personnel in Baghdad and should have been killed "many years ago".

Iran's supreme leader Ayatollah Ali Khamenei promised "severe revenge" for Soleimani's death and Tehran named Soleimani's deputy, Esmail Qaani, to succeed him.

Tens of thousands of Iraqis, including Prime Minister Adel Abdel Mahdi, political leaders and clerics attended a mass ceremony on Saturday to honor Soleimani and the other victims.

Tehran has slammed the strike as an "act of war" and Abdel Mahdi said it could bring "devastating" violence to Iraq.

The attacks on Saturday evening appeared to be precisely the reaction Iraqis had long feared: tit-for-tat strikes between the Hashed and the US on Iraqi soil.

Earlier, the Hashed claimed a new strike hit their convoy north of Baghdad, with Iraqi state media blaming the US.

But the US-led coalition denied involvement, telling AFP: "There was no American or coalition strike" on Saturday.