Eight people, including a police commander, were killed and seven others wounded Friday in a suicide attack in the central province of Ghazni, Afghan news agency AIP said, citing officials.

The attack took place at 4:00 p.m. at the main market in Qarabagh district, the province's deputy governor, Muhamad Ali Ahmadi, told AIP.

Qarabagh police chief Daulat Khan was the target, Ahmadi said.

"The suicide (attacker) was riding a motorcycle and detonated the explosive charge when he was next to Daulat Khan. Khan, his four guards and three civilians died," the deputy governor said.

All seven of the wounded are civilians.

Violence continues to rage in Afghanistan nearly a dozen years after the U.S. invasion that toppled the Taliban.

The NATO-led International Security Assistance Force is scheduled to complete its withdrawal from Afghanistan by the end of 2014. EFE