At least six police were killed and dozens of people wounded when as many as six gunmen and a suicide bomber attacked a police headquarters in eastern Afghanistan on Sunday morning, officials said.

It took Afghan security forces most of the day to kill the last gunmen, who had barricaded themselves in a kitchen in the compound, according to police.

The attack, claimed by the Taliban, began around 6:30 a.m. when one bomber detonated a car packed with explosives at the gate of the police headquarters in Gardez city, capital of Paktia province, said Najib Danish, a spokesman for the Interior Ministry.