The insurgents said a suicide bomber detonated a device inside a car near the National Directorate of Security (NDS) while gunmen stormed the building in Aybak city in the north of the country.
Abdul Latif Ibrahimi, governor of Samangan province, told AFP 11 people were killed and 63 others, mostly civilians, were wounded in the explosion and gunfire.
The attack, which lasted for nearly four hours, ended after security forces shot dead three armed men, the governor’s spokesman Sediq Azizi said.
“It was a huge explosion that broke all our windows,” said witness Haseeb, who only gave one name, a government employee who works near the NDS compound. “Many people have been wounded by flying pieces of glass.”
In recent months, the Taliban have carried out near-daily attacks against Afghan forces — even as the government prepares to engage in peace talks with the militants aimed at ending the country’s decades-old war.
In two separate attacks on Sunday blamed on the Taliban, at least 19 security personnel were killed, officials said.
A group of 12 soldiers and police were killed in a seven-hour battle with Taliban fighters who attacked their outpost in the northern province of Kunduz, Mohammad Yusouf Ayubi, the provincial council chief said.
Taliban forces have regularly attacked security forces in the northern province, often attempting to enter Kunduz city, which has briefly fallen twice to the militants in recent years.
In the second attack late Sunday in northeastern Badakhshan, seven policemen were killed in fighting with Taliban fighters, Nik Mohammad, spokesman to the governor said.
The Taliban claimed both attacks in Kunduz and Badakhshan.