 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.