The United States Department of Defense completed its withdrawal from Afghanistan on 30 August 2021. This helped bring to a close the 2001–2021 war. In February 2020, the first Trump administration and the Taliban signed the United States–Taliban deal in Doha, Qatar, which stipulated fighting restrictions for both the US and the Taliban, and in return for the Taliban's counter-terrorism commitments, provided for the withdrawal of all NATO forces from Afghanistan by 1 May 2021. [1]