Several lawyers and officials have been killed after Taliban militants stormed an Afghanistan court.
Taliban militants have stormed a court in northern Afghanistan, killing at least seven people including prosecutors as they shot them in their offices at close range.
The raid on Monday was mounted in Kunduz, a city which the insurgents have encircled in recent weeks and attempted to storm, so far without success.
Four attackers wearing army uniforms attacked the provincial appeals court, triggering a four-hour gun battle with Afghan security forces, provincial police spokesman Sayed Sarwar Hussaini told AFP.
"They first blew up an explosives-laden car at the gate of the court and then entered the building," he said.
"The attackers killed six court officials and one police. Eight people were wounded," he said, adding that the militants were also killed.
Chief prosecutor Amruddin Amin said the gunmen went door-to-door in the court compound, shooting their victims at close quarters.
"I jumped out of a window. I saw the gunmen shooting people at close range," he said.
"The police guards inside the building fought them for hours, but they were eventually overpowered after they ran out of ammunition."
The Taliban claimed responsibility for the attack on their website and said several court officials and prosecutors were killed.
They did not elaborate on the motive for the attack but the court was hearing several cases against Taliban militants.