Afghan officials say the Taliban have attacked a government compound in the country's east by first setting off two truck bombs, followed by an attack by gunmen.

Asadullha Ensafi, the deputy police chief in the provincial capital of Ghazni, says at least 52 people — both civilians and security forces — were hurt in Thursday's early morning attack. Most were injured by broken glass from windows shattered in the explosion.

Ensafi says the target appeared to be the local office of domestic intelligence.

Ghazni Governor Musa Khan Akbarzada says that as many as 13 Taliban fighters had launched the attack. He says bodies of eight attackers were found after the gunbattle with the police.

It wasn't immediately clear if any of the security forces or civilians had been killed.