Afghan National Security Forces

The Afghan National Security Forces (ANSF), also known as the Afghan National Defense and Security Forces (ANDSF), were the military and internal security forces of the Islamic Republic of Afghanistan.

As of 30 June 2020, the Afghan National Security Forces (ANSF) or Afghan National Defence and Security Forces (ANDSF) were composed of the Afghan National Army (including the Afghan Border Force, Afghan Air Force, Afghan Territorial Army, Afghan National Civil Order Force), Afghan National Police (including Afghan Local Police), and the National Directorate of Security (including the Afghan Special Force).

In August 2021, after the Taliban captured the Afghan capital Kabul and other major cities, US President Joe Biden said that the forces collapsed, sometimes without trying to fight and that they were not willing to fight for themselves, with the exception of very brave and capable Afghan special forces units and soldiers. In an Al Jazeera editorial Abdul Basit wrote that the forces "preferred to save their lives by surrendering to the Taliban under its amnesty offers".

Structure
The Afghan National Security Forces consisted of
 * Ministry of Defence
 * Afghan National Army (ANA): In December 2020 the U.S. Department of Defense wrote that the ANA General Staff commanded and controlled all of Afghanistan’s ground and air forces, including "the ANA conventional forces, the Afghan Air Force (AAF), the Special Mission Wing (SMW), the ANA Special Operations Command (ANASOC), the Afghan National Civil Order Force (ANCOF), and the Afghan Border Force (ABF). In total, the ANA consisted of 27 combat brigades, three combat air wings, four branch and basic training schools, seven ANCOF brigades, seven ABF brigades, and additional support facilities such as depots and hospitals."
 * Ministry of Interior Affairs
 * Afghan National Police (ANP)
 * Afghan Uniformed Police (AUP)
 * Public Security Police (PSP)
 * Afghan Border Police (ABP)
 * General Directorate for Intelligence and Counter Crime (GDICC) (formerly Afghan Anti-Crime Police (AACP))
 * Afghan Public Protection Force (APPF)
 * Counter Narcotics Police of Afghanistan (CNPA)
 * Afghan Local Police (ALP)
 * General Command of Police Special Units (GCPSU)
 * Afghan Territorial Force (ATF) 444
 * Crisis Response Unit (CRU) 222
 * Commando Force (CF) 333 (formerly Afghan Special Narcotics Force)

NATO special operations forces trained, advised and assisted the ANASOC, SMW and GCPSU who were collectively known as the Afghan Special Security Forces (ASSF). The ASSF was described as the "ANDSF’s primary offensive forces".

The National Directorate of Security (NDS) was the state intelligence and security service and was part of the Afghan National Defense and Security Forces. The NDS reported directly to the Office of President.