Kabul: Militant group Islamic State on Monday claimed responsibility for an attack on the Iraqi embassy in Kabul that began with a suicide bomber blowing himself up at the main gate, allowing gunmen to enter the building and battle security forces.
The assault came a week after 35 people were killed in a Taliban attack on government workers in Kabul and underlines Afghanistan's precarious security as the United States weighs an overhaul of its policy in the region.
Afghan security forces confronted three gunmen for hours before the interior ministry announced in mid-afternoon that the attack, in a normally busy business district of the capital, had been suppressed.
"Terrorist attack on Iraqi embassy in Kabul over after all terrorists killed," the ministry said in a statement.
Islamic State's Amaq agency said two attackers had blown up the gate, killing seven guards, and two fighters had broken into the compound.
There was no immediate official word on casualties but an Italian-operated hospital nearby said two injured people had been brought in for treatment.
Islamic State has carried out a series of high-profile attacks in Kabul, mainly targeting members of the mainly Shi'ite Hazara community, and fuelling concerns of a possible spillover into Afghanistan from fighting in Syria and Iraq.
The local branch of the movement, often called Daesh, is often known as Islamic State in Khorasan (ISIS-K), after an old name for the region that now includes Afghanistan.
U.S. commanders say it has been severely hit by a campaign of drone strikes and joint Afghan and U.S. Special Forces operations, with hundreds of fighters and commanders killed.
However Afghan security officials say the movement operates in as many as nine provinces, from Nangarhar and Kunar in the east to Badakhshan, Jawzjan and Faryab in the north and Baghdis and Ghor in the west.
The Taliban, fighting to reestablish strict Islamic law 16 years after being expelled by a U.S.-led campaign in 2001, have opposed Islamic State.