The official also asserted that 40 militants were killed and injured in the firefight. No immediately took responsibility for the bombing.
Fighting went on for about three hours until fresh troops were deployed to the district and the Taliban escaped from the area.
Mujahid gave a higher casualty figure among the Afghan forces, which the Taliban often do, exaggerating their achievements on the battlefield, and a significantly lower death toll among the insurgent attackers.
Reacting to the development, the Taliban reportedly said that it has captured the district, a claim which was rejected by local law enforcers. A pick-up, two motorbikes and some weapons were also seized by security forces. The Taliban planted mines to prevent government reinforcements from coming to help and quickly took responsibility for the attack.
Rahmani said the district is very close to the provincial capital, Ghazni city.
Taliban guerrillas attacked a district headquarters in Afghanistan's Ghazni province on Thursday, killing its administrator along with at least 14 others, officials said.
Nine other security personnel were also wounded.
Nangarhar police spokesman Hazrat Hussain Mashraqiwal told Pajhwok Afghan News security forces targeted an insurgent hideout in the Mia Sahib locality of Hesarak district late on Wednesday.
Deputy provincial police chief Ramazan Ali Mohsini said among those killed were Ali Dost Shams, the district governor, seven police officers, and five members of the National Directorate of Security, the country's main intelligence agency.
- Moving forward from the Zuckerberg testimony
- Junket tourism
- Decisiva la rete di Ljajic
- Security concerns forces Chennai Super Kings to move base to Pune
- GAME OVER: Kaepernick SNUBBED by Team After Refusing to STAND
- Can Manchester United win the Premier League this season?
- Red Sox starter leaves after one inning with possible injury
- Cristiano Ronaldo can not understand Juventus complaints over last-gasp penalty
- Webster Groves School Board gives go-ahead to early college program
- Donald Trump weighs USA rejoining Trans-Pacific Partnership