A compound housing foreigners on the outskirts of the Afghan capital has been targeted by an attack by the Taliban.
A car-bomb explosion occurred near the gate of the Green Village in eastern Kabul late on November 19, followed by bursts of gunfire.
Security forces sealed off roads in the eastern part of the capital.
Kabul's chief of police, General Mohammand Zahir, said four militants were killed in the assault.
One attacker died when he detonated the vehicle packed with explosives; the other three were killed by police officers in the shoot-out.
A security official said that one guard working in the Green Village was slightly injured.
The attack was claimed by the Taliban via a recognized Twitter account that said: "A car bomb targeted Green Village, on[e] of the most secure areas of foreigners."
The high-security compound houses foreigners working for international service contractors and various facilities.
This was the second attack on a foreign compound in recent days.
The Green Village has been the scene of previous attacks targeting the foreigners living there.
In October 2013, a Taliban suicide bomber detonated an explosives-laden car near the entrance of the Green Village, killing two passersby.
Seven guards and civilians were killed in another attack there in 2012.
The Taliban has been staging frequent attacks as foreign troops leave the country this year.
On November 18, a Taliban suicide attack targeted another compound housing foreigners in Kabul.
Two Afghan security guards and two attackers were killed in that attack.
On November 16 near the parliament building in Kabul, prominent female lawmaker Shukriya Barakzai survived a suicide attack on her vehicle but three civilian bystanders were killed in the blast.
Nearly 20 others were injured in the attack.