By Michael Pearson, Masoud Popalzai and Zahra Ullah, CNN
Updated 1558 GMT (2258 HKT) April 19, 2016
Taliban claim deadly blast in Kabul 01:50 VIDEO here
Suicide bombing rips open back wall of building, official says
Gunman who entered building later killed, he says
Taliban claim responsibility for attack in Kabul
(CNN)An explosion rocked the Afghan capital of Kabul on Tuesday morning — the apparent work of Taliban militants targeting a security team that protects government VIPs, a police official told CNN.
Kabul’s police chief said at least 28 people died. More than 300 were wounded, according to authorities.
Despite the target, most of the victims were civilians — including women and children, Interior Ministry spokesman Sediq Sediqi said.
A suicide bomber detonated a vehicle filled with explosives in a private parking lot behind the compound, destroying the back wall of a building, according to Sediqi. A second attacker then entered the building. That attacker died in a gunbattle with security forces less than two hours later, Sediqi said.
Afghanistan war: Just what was the point?
Why Al Qaeda are ’resurgent’ in Afghanistan: VIDEO here
Why Al Qaeda are ’resurgent’ in Afghanistan 03:36
The Afghan Taliban claimed responsibility for the attack.
"First a suicide bomber blew up his explosives-laden lorry on the gate of the department and then other armed attackers went in and started shooting on the rest of the enemies," the statement said.
Witnesses said they continued to hear gunfire after the explosion, which occurred in a busy part of Kabul near the Afghan Defense Ministry and presidential palace.
Afghan journalist Esmatullah Kohsar tweeted photos of what he said were windows at his office shattered by the blast. He said he could hear gunfire following the explosion.
Afghan women’s rights activist Wazhma Frogh said on Twitter that she was arriving at work near the site of the attack when the blast happened.
"There are schools in the explosion area," she tweeted. "Parents running to the doors to take their children. Sad day in Kabul."
The attack comes a week after the Taliban declared the start of a spring offensive, designed to "employ all means at our disposal to bog the enemy down in a war of attrition that lowers the morale of the foreign invaders and their internal armed militias."
Meet the ISIS defectors of Afghanistan
Meet the ISIS defectors of Afghanistan 04:01
Afghan soldiers desert as Taliban threaten key Helmand capital
The commander of NATO forces in Afghanistan, Gen. John W. Nicholson, said such attacks are a sign of Taliban weakness.
"Today’s attack shows the insurgents are unable to meet Afghan forces on the battlefield and must resort to these terrorist attacks," he said.
Afghan President Mohammad Ashraf Ghani condemned the attack and said in a tweet it "clearly shows the enemy’s defeat in face-to-face battle" with government forces.
The U.S. Embassy in Kabul also denounced the attack.
"Afghanistan deserves peace and security, not attacks that victimize parents taking their children to school, workers on their morning commute, and people who have stepped forward to help defend their fellow citizens," the embassy said in a statement.
A record number of civilians died or were wounded in hostilities in Afghanistan last year, the United Nations said in February. More than 3,500 civilians died and nearly 7,500 were wounded in 2015, it said.
Another 5,500 Afghan security force members died in 2015, according to U.S. estimates.
Rocket strikes in Kabul intended for John Kerry, Taliban say
CNN’s Archith Seshadri also contributed to this report.