Five civilians and a policeman were killed when Taliban gunmen stormed a court building in eastern Afghanistan, the Interior Ministry said.
A statement from the ministry said "four terrorists" were involved in the attack in the city of Ghazni, the capital of eastern Ghazni province, on Wednesday.
Jawed Salangi, spokesman for the provincial governor, said a suicide bomber launched the co-ordinated attack by blowing himself up at the court's entrance, after which three other attackers stormed the building.
The ministry said a firefight ensued and the three other attackers were shot and killed by the security forces.
Mr Salangi said police were also attempting to defuse an explosives-packed vehicle parked near the courthouse.
The Taliban, who have waged war on Kabul since the 2001 US-led invasion toppled their regime, claimed responsibility for the attack.
The insurgents have increasingly targeted Afghan judicial workers since the government executes six convicted Taliban members last month. They routinely also target government employees and security officials across the country.
Meanwhile, in northern Balkh province, district police chief Bismullah Khan was killed when his vehicle struck a roadside bomb on Wednesday, said deputy provincial police chief General Abdul Razaq Qaderi.
Three other policemen, who were Mr Khan's bodyguards were injured in the blast, said Mr Qaderi.
He added that Mr Khan was police chief in Sholgara district and was on his way to attend a security meeting in Mazar-e Sharif, the capital of Balkh.
The Taliban also claimed responsibility for the deadly attack in Balkh.