Taliban attack on Afghan court kills five including chief prosecutor

Taliban claims the attack, says it was in retaliation for the execution of six militants by the government.

At least five people, including a newly appointed chief prosecutor, were killed in a Taliban attack at a courthouse in eastern Afghanistan on Sunday.

The Taliban said the attack was planned in retaliation for the execution of six militants in May by the government. According to the province's deputy police chief Nesar Ahmad Abdul Rahimzai, two attackers opened fire at an appeals court in Pul-e Alam in Logar province, located to the south of the Afghan capital city of Kabul.

As many as 19 people were injured in the attack. The Afghan security forces killed the gunmen.

Reuters reported that the Taliban claimed the responsibility of the attack. The attack was in response to the government's execution of six Taliban prisoners in early May this year, Taliban spokesperson Zabihullah Mujahid said.

This attack was the third on court facilities since the group's members were executed by the government.

The execution followed a deadly attack in Kabul which killed at least 64 people. The attack had prompted President Ashraf Ghani to declare that the "time of unjustified amnesty" for insurgents was over.