The US has completed its withdrawal from Afghanistan after the last of its planes took off from Kabul airport.
All its service members have now departed, bringing an end to a 20-year campaign that saw more than 2,400 Americans die as well as tens of thousands of Afghans.
General Kenneth F McKenzie announced the “completion of our withdrawal” during a news conference at The Pentagon.
He said the US ambassador to Afghanistan, Ross Wilson, was on the last flight from Kabul.
“The last C-17 lifted off on 30 August at 3.29pm (EDT) and the last manned aircraft is clearing the airspace above Afghanistan now,” said General McKenzie, head of US Central Command.
Taliban spokesman Qari Yusuf said it meant Afghanistan had “gained complete independence,” Al Jazeera TV reported, with fighters near the airport firing into the air in celebration.
President Joe Biden said he would address the American people on Tuesday afternoon but in a statement hailed the military’s “courage, professionalism, and resolve”.
Gen McKenzie said the US and its allies had evacuated 123,000 civilians since 14 August, following the Taliban’s swift takeover.
However, the general acknowledged that while the “vast majority” of Americans who wanted to leave were able to, not everyone got out and that diplomatic means would now be used.
He also warned an estimated 2,000 “hardcore” ISIS fighters were still in Afghanistan.
A regional affiliate of the Islamic State terror group, ISIS-K, was behind last week’s suicide attack at Kabul airport that killed 13 US service members, three Britons and scores of Afghans.
It also claimed responsibility for a rocket attack on the airport on Monday.
The Taliban established a “firm perimeter” as the final flight left, said Gen McKenzie, and were “helpful and useful” as the US drew a line under two weeks of frantic airlifts.
The pull-out means President Biden has followed through on a Trump pledge to leave Afghanistan.
However, many have criticised him for pushing ahead with the wind down after the Taliban seized the opportunity to quickly over-run the Afghan military and take power.
There are fears that – despite their assurances – the group will reimpose their violent form of Sharia law that previously saw women’s rights reduced to practically zero.
America went into Afghanistan after the 9/11 attacks in order to stop al Qaeda using the country as a base to plan any further attacks.
However, the US presence ended up spanning three decades and became deeply unpopular.
Gen McKenzie told reporters it had “brought Osama bin Laden to a just end, along with many of his al Qaeda co-conspirators”, but that it was “not a cheap mission”.
UK efforts to airlift Britons from Kabul, as well as people such as interpreters who had helped the country, ended on Friday.