US last withdrawal from Afghanistan.
The US military completes its withdrawal on 31 August after two decades of war, leaving the Taliban in charge.
General Frank McKenzie who oversaw the pull-out says the US and its allies managed to evacuate some 123,000 civilians.
Heavy gunfire is reported in the Afghan capital, Kabul, as pro-Taliban forces celebrate.
Gen McKenzie said the cost of the mission had been high, with more than 2,400 US service personnel killed since 2001.