The United States admitted that one of its drone strikes in Kabul days before its military pullout killed 10 civilians.
A US Central Command investigation found that an aid worker and nine members of his family, including seven children, died in the 29 August strike.
The youngest child, Sumaya, was just two years old.
The deadly strike happened days after a terror attack at Kabul airport, amid a frenzied evacuation effort following the Taliban’s sudden return to power.
It was one of the US military’s final acts in Afghanistan, before ending its 20-year operation in the country.
US intelligence had tracked the aid worker’s car for eight hours, believing it was linked to ISIS-K militants, a local branch of the Islamic State (IS) group, US Central Command Gen Kenneth McKenzie said.
The investigation found the man’s car had been seen at a compound associated with IS-K, and its movements aligned with other intelligence about the terror group’s plans for an attack on Kabul airport.
At one point, a surveillance drone saw men loading what appeared to be explosives into the boot of the car, but it turned out to be containers of water.
Gen McKenzie described the strike as a “tragic mistake”, and added that the Taliban had not been involved in the intelligence that led to the strike.
The strike happened as the aid worker pulled into the driveway of his home, 3km from the airport.
The explosion set off a secondary blast, which US officials initially said was proof that the car was indeed carrying explosives. However the investigation has found it was most likely caused by a propane tank in the driveway.
When the US started to withdraw its troops from Afghanistan, the Taliban managed to seize control of the country within about two weeks in a lightning-fast offensive.
President Ashraf Ghani fled to the United Arab Emirates, and Afghanistan’s capital, Kabul, fell on 15 August.
It sparked a mass evacuation effort from the US and its allies, as thousands of people tried to flee. Many were foreign nationals or Afghans who had worked for foreign governments.
There were scenes of panic and chaos at Kabul airport, and some people fell to their death after trying to cling on to the side of US military planes as they took off.
The security situation was further heightened after a suicide bomber killed up to 170 civilians and 13 US troops outside the airport on 26 August. IS-K said it had carried out the attack.
Many of those killed had been hoping to board one of the evacuation flights leaving the city.