The insurgent group's spokesman, Zabihullah Mujahid, told The Associated Press over the telephone that after the attack in the Khuja Omari district, not far from the provincial capital also called Ghazni, all security posts in the district were under Taliban control.
His claim could not be independently confirmed and the government did not immediately respond to it.
He also confirmed the government's statement that the assault killed three top local officials the district's governor, intelligence chief and deputy police chief.
Lawmaker Mohammad Arif Rahmani said the attack early today morning in Khuja Omari district killed the district governor, intelligence service director and a deputy police official. Fifteen security forces were killed.
Rahmani said the Taliban planted mines to stop reinforcements from coming to help the government forces fend off the attack.
Rahmani said the district is very close to the provincial capital, Ghazni city.
Police say Taliban fighters attacked a district compound in central Afghanistan overnight, killing at least six government security forces in several hours of fighting.
Ramazan Ali Moseni, a deputy chief police in Ghazni province, said 25 Taliban were killed in the gunbattle that started Wednesday night and lasted into the morning.
Moseni said the Taliban fighters stormed the secure compound in Khuja Omari district and the security forces who were there were joined later by government reinforcements.
He said eight government security forces were wounded in the fighting.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)