Official: 6 people killed in Taliban attack near the Spanish embassy in Kabul

Afghan security personnel inspect the Spanish Embassy in Kabul, Afghanistan, Saturday, Dec. 12, 2015. Explosions and gunfire rocked a diplomatic area of central Kabul overnight as security forces tried to flush out Taliban attackers who claimed responsibility for a deadly car bomb Friday. (AP Photo/Rahmat Gul) (The Associated Press)

Afghan security personnel inspect the Spanish Embassy in Kabul, Afghanistan, Saturday, Dec. 12, 2015. Explosions and gunfire rocked a diplomatic area of central Kabul overnight as security forces tried to flush out Taliban attackers who claimed responsibility for a deadly car bomb Friday. (AP Photo/Rahmat Gul) (The Associated Press)

Afghan security personnel inspect the damage to the Spanish Embassy in Kabul, Afghanistan, Saturday, Dec. 12, 2015. Explosions and gunfire rocked a diplomatic area of central Kabul overnight as security forces tried to flush out Taliban attackers who claimed responsibility for a deadly car bomb Friday. (AP Photo/Rahmat Gul) (The Associated Press)

An Afghan official says that at least six people have been killed after the Taliban attacked near the Spanish embassy in the capital Kabul.

Sediq Sediqqi, spokesman for the Afghan Interior Ministry, said on Saturday that four Afghan police officers and two others, including a foreigner, were killed in the attack.

Seven civilians and two policemen were wounded, Sediqqi said. Twelve foreign citizens were rescued by Afghan forces during the operation, he added.

Zabiullah Mujahid, spokesman for the Taliban, claimed responsibility for the attack in an email sent to media outlets.

The attack took place in the Kabul district of Shir Pur, which is home to many foreign embassies, guesthouses and the homes of high-ranking government officials.