He served as the Chief Minister of Khyber-Pakhtunkhwa from 2002 to 2007. He served as Federal Minister for Housing and Works, in the Abbasi cabinet from August 2017 to May 2018 and as the Federal Minister for Housing and Works in the third Sharif ministry from June 2013 to July 2017. He was a member of the National Assembly of Pakistan from June 2013 to May 2018.