The United States launched an invasion of Afghanistan following the September 11 attacks from October 7, 2001, to August 31, 2021, as a part of the war on terror.
However, coalition forces were gradually involved in the broader war as well, as Taliban resistance continued until 2021, when they regained control of the country and formed a new government.
[citation needed] The UN Security Council issued Resolutions 1267 and 1333 in 1999 and 2000, respectively, applying financial and military hardware sanctions to encourage the Taliban to turn over bin Laden to appropriate authorities for trial in the embassy bombings, as well as to close terrorist training camps.
In an audiotape posted on a website that the US claims is "frequently used by al-Qaeda,"[citation needed] on May 21, 2006, bin Laden said that he had personally directed the 19 hijackers.
The stated purpose of the invasion was to capture Osama bin Laden, destroy al-Qaeda, and remove the Taliban regime, which had provided them support and safe harbor.