 After the fall of the Taliban regime, Khalid worked with the National Directorate of Security, Department 5, but shortly afterwards became Governor of his home Ghazni province, a post he held until 2005.After a re-shuffle in 2005 by President Hamid Karzai, Khalid was shifted from Ghazni province to become the new governor of Kandahar province.As governor, he said that he believed in the coordination of international and national efforts in bringing stability to Afghanistan.