Western nations scrambled to evacuate people from Afghanistan on Wednesday but acknowledged that many Afghans who helped during two decades of war would be left behind to face an uncertain fate under the Taliban when foreign troops leave next week.

The effort was taking place against a chaotic backdrop in the capital, Kabul, and its airport, where a massive airlift of foreign nationals and their families as well as some Afghans is under way and due to last until Tuesday.

Pressure to complete the evacuations has intensified amid concerns about the security situation outside the airport, where the Taliban are in control.