A drone laden with explosives targetted the residence of Iraqi Prime Minister Mustafa al-Kadhimi in Baghdad early on Sunday in what the Iraqi military called an attempted assassination, but said Kadhimi escaped unhurt.
The attack, which security sources said injured several members of Kadhimi's personal protection detail, came after protests in the Iraqi capital over the result of a general election last month turned violent.
The United States Department of State condemned the attack and offered assistance with the investigation.
"This apparent act of terrorism, which we strongly condemn, was directed at the heart of the Iraqi state," spokesman Ned Price said in a statement.
"We are in close touch with the Iraqi security forces charged with upholding Iraq’s sovereignty and independence and have offered our assistance as they investigate this attack."
The groups leading protests and complaints about the result of the October 10 vote are heavily-armed militias that lost much of their parliamentary power in the election. They have alleged voting and vote-counting irregularities.
No group immediately claimed responsibility for the attack on Kadhimi's residence in Baghdad's fortified Green Zone, which houses government buildings and foreign embassies.
A statement from the Iraqi military said that the attack targeted Kadhimi's residence and that he was in "good health". It provided no further detail.
Kadhimi's official Twitter account said the prime minister was safe and called for calm.
كنت ومازلت مشروع فداء للعراق وشعب العراق، صواريخ الغدر لن تثبط عزيمة المؤمنين، ولن تهتز شعرة في ثبات وإصرار قواتنا الأمنية البطلة على حفظ أمن الناس وإحقاق الحق ووضع القانون في نصابه.
— Mustafa Al-Kadhimi مصطفى الكاظمي (@MAKadhimi) November 7, 2021
أنا بخير والحمد لله، وسط شعبي، وأدعو إلى التهدئة وضبط النفس من الجميع، من أجل العراق.
Two government officials said Kadhimi's residence had been hit by at least one explosion and confirmed to Reuters that the prime minister was safe.
Security sources told Reuters that six members of Kadhimi's personal protection force stationed outside his residence had been injured.
Western diplomats based nearby in the Green Zone said they heard explosions and gunfire in the area.
Supporters of militia groups that have grown their power in parliament and government in recent years have protested the results of the October election.
Demonstrations by their supporters turned violent on Friday when protestors pelted police with stones near the Green Zone, injuring several officers.
The police responded with tear gas and live gunfire, killing at least one demonstrator, according to security and hospital sources in Baghdad.
Independent analysts say the election results were a reflection of anger towards the armed groups, which are widely accused of involvement in the killing of nearly 600 protesters who took the street in separate, anti-government demonstrations in 2019.