In this sweeping epic for The Atlantic, Franklin Foer chronicles the chaos and casualties of the US’ bungled withdrawal from Afghanistan, which took place during August 2021.

Their failings were so apparent that they had a desperate need to explain themselves, but also an impulse to relive moments of drama and pain more intense than any they had experienced in their career.

On his first trip, in 2002, Biden met with Interior Minister Yunus Qanuni in his Kabul office, a shell of a building. Qanuni, an old mujahideen fighter, told him: We really appreciate that you have come here. But Americans have a long history of making promises and then breaking them. And if that happens again, the Afghan people are going to be disappointed.

Every intelligence official watching Kabul was obsessed with the possibility of an attack by ISIS-Khorasan, or ISIS‑K, the Afghan offshoot of the Islamic State, which dreamed of a new caliphate in Central Asia. As the Taliban stormed across Afghanistan, they unlocked a prison at Bagram Air Base, freeing hardened ISIS‑K adherents. ISIS‑K had been founded by veterans of the Pakistani and Afghan Taliban who had broken with their groups, on the grounds that they needed to be replaced by an even more militant vanguard. The intelligence community had been sorting through a roaring river of unmistakable warnings about an imminent assault on the airport.

As the national-security team entered the Situation Room for a morning meeting, it consumed an early, sketchy report of an explosion at one of the gates to HKIA, but it was hard to know if there were any U.S. casualties. Everyone wanted to believe that the United States had escaped unscathed, but everyone had too much experience to believe that. General McKenzie appeared via videoconference in the Situation Room with updates that confirmed the room’s suspicions of American deaths. Biden hung his head and quietly absorbed the reports. In the end, the explosion killed 13 U.S. service members and more than 150 Afghan civilians.