On the eve of the U.S. invasion in 2001, a top Taliban diplomat issued a warning: "Afghanistan is a swamp. People enter here laughing, are exiting injured.”

The U.S., which soon afterward ousted the Taliban from Kabul in a matter of weeks, is now racing to evacuate the capital after the militant group seized control of it Sunday much faster than anyone predicted. Chaotic scenes gripped the airport on Monday, with reports of several deaths among the swarming crowds a day after President Ashraf Ghani fled the country.

Even before the Taliban announce what comes next, the militant group appears in a stronger position on the world stage than it ever achieved during its five-year rule that ended after the Sept. 11, 2001, terrorist attacks. Back then it was still fighting various warlords and its government was only recognized by three countries — Pakistan, United Arab Emirates and Saudi Arabia, briefly. Its leader at the time had never been photographed.