Dozens of Afghan security personnel were killed by Taliban militants who overran a military intelligence base near Kabul, officials have confirmed.
At least 43 people were killed and 54 injured in the attack, the NDS intelligence service told the BBC.
Insurgents blew their way into the base using a car bomb before opening fire. Some reports put the toll at over 100.
It is one of the deadliest attacks on the secret service and follows a string of battlefield setbacks for the army.
Monday's attack on the National Directorate for Security (NDS) base in central Wardak province came hours before the Taliban held another round of peace talks with US diplomats in Qatar.
Reports say the base in Maidan Shahr, about 30km (19 miles) south-west of Kabul, is a training centre for pro-government militia members.
The militants smashed their way in by detonating a captured Humvee packed with explosives. At least two gunmen then opened fire in the compound.
A second car bombing attempt was foiled by the Afghan security forces and three would-be suicide attackers were killed, the NDS told the BBC.
The Taliban said on Monday they had attacked an Afghan special forces unit and 190 people had been killed. The group often inflates casualty figures from their attacks.
Officials initially acknowledged about 20 deaths but the latest unconfirmed reports say some 70 bodies have so far been pulled from the rubble.
Most casualties were caused by the partial collapse of the building's roof when it was hit by the force of the Humvee blast.
The Taliban's power and reach has surged since foreign combat troops left Afghanistan in 2014.
US-led combat operations against the Taliban, the main insurgent group in Afghanistan, officially ended in that year, but some foreign troops remain in the country to provide training and assistance to Afghan forces, who do most of the fighting.
However the US has been carrying out a sustained air bombing campaign since President Trump announced a new strategy in 2017.
Much of the building's roof collapsed, causing most of the casualties
The Taliban frequently carries out deadly attacks targeting military bases, soldiers and police and in recent years US and Afghan officials have withheld detailed casualty figures as they are deemed too sensitive.
But late last year, President Ashraf Ghani said more than 28,000 Afghan police and soldiers had been killed since 2015.
Who are the Taliban?
The Taliban emerged in the early 1990s following the withdrawal of Soviet troops from Afghanistan, shortly before the demise of the Soviet Union.
The militants went on to rule Afghanistan from 1996 to 2001, until they were driven from power by US-led troops following the 9/11 attacks, which the US blamed on al-Qaeda militants who were hosted by the Taliban.
In November, Russia hosted a landmark international meeting on Afghanistan in Moscow aimed at kick-starting peace talks.
It was the first time that Taliban militants had attended such an event.
Latest Stories
-
Let’s live peacefully and shame our saboteurs – Savannah executives of NPP, NDC
3 hours -
Reconstruction of Agona-Nkwanta-Tarkwa road 80 per cent complete
3 hours -
Internet penetration: 10.7 million Ghanaians offline – LONDA Report
4 hours -
USC cancels grad ceremony as campus protests against Israel’s war in Gaza continue
4 hours -
Harvey Weinstein’s 2020 rape conviction overturned in New York
4 hours -
US Supreme Court divided on whether Trump can be prosecuted
4 hours -
There’s enough justification for Affirmative Action Bill to be passed – Minka-Premo
4 hours -
Don’t allow people to manipulate you into vaccine hesitancy – Dr Adipa-Adappoe
4 hours -
Suspend implementation of Planting for Food and Jobs 2.0 for 2024 – Stakeholders
4 hours -
Parkinson’s disease no longer confined to the elderly – Public Health Physician, Dr Momodou Cham warns
4 hours -
Persons living with Parkinson’s disease appeal for support as they face stigmatization
4 hours -
36-year-old-trader sentenced for stealing employer’s money
4 hours -
9 signs you’re falling in love with someone who thoroughly enjoys emotional manipulation
5 hours -
Catholic Diocese of Keta Akatsi hosts Parkinson’s support group meeting
5 hours -
Wa Naa appeals to Akufo-Addo to audit state lands in Wa
5 hours