// The Agreement for Bringing Peace to Afghanistan, commonly known as the US–Taliban deal or the Doha Agreement, was a peace agreement signed by the United States and the Taliban on February 29, 2020 in Doha, Qatar, to bring an end to the 2001–2021 war in Afghanistan. Negotiated by Zalmay Khalilzad, the agreement did not involve the then Afghan government. The deal, which also had secret annexes, was one of the critical events that caused the collapse of the Afghan National Security Forces. Following the deal, the US dramatically reduced the number of air attacks and deprived the ANSF of a critical edge in fighting the Taliban insurgency, leading to the Taliban takeover of Kabul on 15 August 2021.
The agreement stipulated fighting restrictions for both the US and the Taliban, and provided for the withdrawal of all NATO forces from Afghanistan in return for the Taliban's counter-terrorism commitments. The US agreed to an initial reduction of its force level from 13,000 to 8,600 within 135 days (i.e. by July 2020), followed by a full withdrawal within 14 months (i.e. by 1 May 2021) if the Taliban keeps its commitments. The United States also committed to closing five military bases within 135 days, and expressed its intent to end economic sanctions on the Taliban by August 27, 2020. The agreement was supported by Pakistan, China, and Russia, and unanimously endorsed by the UN Security Council. //
https://en.wikipedia.org/wiki/US–Taliban_deal
Trumps only great achievement - and you have forgotten.