Question: The Basej-e Milli (National Movement) alternatively called Afghanistan Green Trend (Rawand-e Sabz-e Afghanistan) is a political party in Afghanistan created by former Afghan intelligence chief, Amrullah Saleh, a politician in Afghanistan who served as head of the National Directorate of Security from 2004 until his resignation in what year?

Context paragraphs:
Basej-e Milli: The Basej-e Milli (National Movement) alternatively called Afghanistan Green Trend (Rawand-e Sabz-e Afghanistan) is a political party in Afghanistan created by former Afghan intelligence chief (2004–2010) Amrullah Saleh.  Basej-e Milli started as a grassroots movement when Saleh visited cities and small towns in several Afghan provinces talking about his political beliefs in favour of democracy and reform but strongly opposing the Taliban.  In May 2011, more than 20,000 of Saleh's followers took part in an anti-Taliban demonstration in the capital Kabul.

Abdul Rashid Dostum: Abdul Rashid Dostum ( ; Dari: ‎ ‎ عبدالرشید دوستم) (born 1954) is an Afghan politician who has served as Vice President of Afghanistan since 2014.  He is an ethnic Uzbek, former warlord and general, previously part of the leadership council of the National Front of Afghanistan along with Ahmad Zia Massoud and Mohammad Mohaqiq, as well as chairman of his own political party, Junbish-e Milli-yi Islami-yi Afghanistan (National Islamic Movement of Afghanistan).  He also served in the past as Chairman Joint Chiefs of Staff of the Afghan National Army, a role often viewed as ceremonial.

Abdullah Laghmani: Abdullah Laghmani (1960s –2 September 2009) was Deputy Chief of the National Directorate of Security (NDS) in Afghanistan, and a prominent ally of President Hamid Karzai.  He first served as an intelligence officer for the Northern Alliance during Taliban rule.  After the formation of Karzai administration in late 2001, Laghmani served as the intelligence chief of Kandahar province before moving up as deputy chief.  Laghmani was killed in a Taliban suicide bomb attack in Mehtar Lam, Laghman Province.

Abdul Basir (torture victim): Abdul Basir was a citizen of Afghanistan who died while in the custody of Afghanistan's intelligence service the National Directorate of Security (NDS).

Canadian Afghan detainee issue: The Canadian Afghan detainee issue concerns Government of Canada and/or the Canadian Forces (CF) knowledge of abusive treatment of detainees in Afghanistan.  The abuse occurred after Afghans were detained by Canadian Forces, and subsequently transferred to the Afghan National Army (ANA) or the Afghan National Directorate of Security (NDS) during the War in Afghanistan.  The issue has sparked heated debate since of the Third Geneva Convention (of which Canada is a signatory) states that "the Detaining Power [Canada] is responsible for the treatment given [to prisoners of war]".  If the allegations of torture are true it would mean Canada is guilty of war crimes.

Amrullah Saleh: Amrullah Saleh (Dari: امرالله صالح‎ ‎ ; born 1971) is a politician in Afghanistan who served as head of the National Directorate of Security from 2004 until his resignation in 2010.  Prior to that he was a member of Ahmad Shah Massoud's Northern Alliance.

Muhammad Hanif (Taliban spokesperson): Muhammad Hanif (Arabic: محمد حنيف‎ ‎ ) (died November 2008) was a media spokesman for the Taliban from October 2005 until his capture by Afghanistan's National Directorate of Security (NDS) on January 17, 2007.  Hanif and Yousef Ahmadi were appointed in October 2005 after the previous spokesman, Latifullah Hakimi, was captured.  His main tool of communication to news organizations was e-mail.  On the day of his capture, Afghan intelligence officials released a recording of part of Hanif's interrogation.  In this recording Hanif tells his interrogators that the Taliban's leader Mullah Omar was staying in the Pakistani city of Quetta under the protection of the ISI, Pakistan's intelligence agency.

Asadullah Khalid: Asadullah Khalid is a politician in Afghanistan.  He served as head of the National Directorate of Security (NDS), which is the domestic intelligence agency of Afghanistan.  Before his appointment as the head of the NDS in September 2012, Khalid served as the Minister of Tribal and Border Affairs.  Between 2005 and 2008, he was the Governor of Kandahar Province and prior to that as Governor of Ghazni Province (2002-2005).  Khalid is said to be affiliated with the Islamic Dawah Organisation of Afghanistan (Ittihad-i Islami) and has been noted as one of many loyalists of Afghan President Hamid Karzai.

Law enforcement in Afghanistan: Law enforcement in Afghanistan is one of three major components of the nation's criminal justice system, along with courts and corrections.  The National Directorate of Security (NDS) is the intelligence agency of the government of Afghanistan.  The Afghan National Police, which includes the Afghan Border Police and the Afghan National Civil Order Police, is the police force of Afghanistan with jurisdiction that covers the entire 34 provinces of the country.

New Afghanistan Party: New Afghanistan Party (Persian: حزب افغانستان نوین‎ ‎ , Hezb-e Afghanistan Naween or Naveen), a political party in Afghanistan led by Yunus Qanuni.  The party was founded in 2004, as Qanuni moved away from the National Movement of Afghanistan.

Supporting paragraphs: Basej-e Milli Amrullah Saleh
Answer: 2010