At least 8 people were killed in an attack targetting the house of an MP in Kabul, Afghan Police said.
Mir Wali,an MP from the restive southern Helmand province, survived the attack after he jumped from the roof of the building.
The Taliban claimed the attack, which began late Wednesday, saying they targeted a meeting of military officials.
Three attackers stormed his house and one of them detonated his explosives to open the way for other gunman to start a shooting spree, according to reports.
The siege ended early on Thursday morning after a 13-hour standoff in which all the attackers were killed.
According to a security official, seven people, including four of Mir Wali's family members, the son of Kandahar MP Obaidullah Barikzai and two security guards were also killed.
Crisis Response Unit members and special forces were deployed at the scene. Sporadic gunfire was heard through most of the night.