Story highlights Blast hits Sherpoor, a Kabul area that has embassies and the homes of many expatriates

Two Spanish police officers succumb to their injuries

A Taliban spokesman alleges suicide attacks; Afghan officials haven't confirmed casualties

(CNN) A car bomb exploded near the Spanish Embassy in Afghanistan's capital early Friday evening, a source briefed on the incident said on condition of anonymity, and sporadic gunfire rang out in the area afterward -- assaults for which the Taliban claimed responsibility.

Two Spanish police officers who were injured succumbed to their injuries, the Spanish government said on Saturday.

Early Saturday, the Afghan government announced that the siege had ended.

"Afghan Police Special Forces have killed all the attackers who were involved in last night terrorist attack in Kabul," information ministry spokesman Sediq Sediqqi said in a tweet.

The Taliban claimed responsibility for suicide attacks in Kabul's Sherpoor area Friday. Spokesman Zabiullah Mujahid said, "Suicide attacks started on a guesthouse of invaders in the Sherpoor area of Kabul in the evening."

Read More