Seven people, including the new head of a court in Afghanistan's south-eastern Logar province, have been killed when three Taliban militants attacked the court mid-morning Sunday, officials said.
"The new head of the court was being introduced today and the assailants used the rush-hour opportunity to attack the court," said Nesar Ahmad Abdul Rahimzai, the head of security for Logar police.
"Twenty-three others, including three policemen, were wounded in the attack," said Salim Saleh, a spokesman for the Logar governor. The attack is over, with all three assailants killed by Afghan security forces, he said.
Taliban spokesman Zabihullah Mujahid took responsibility for the attack, saying it was in revenge for six insurgents hanged by the Afghan government.
This is the third such attack on court facilities after Afghanistan hanged six insurgents, including four Taliban members, in May.
At least 10 people were killed and four others were injured when a suicide bomber hit a bus carrying judiciary staff members from Kabul to central Wardak province in late May.