He was elected to the Khyber Pakhtunkhwa Assembly in the 2002 election from the platform of Muttahida Majlis-e-Amal and was made finance minister in the provincial cabinet under the leadership of Akram Khan Durrani. However, he resigned in protest against the deadly US drone strike on a Madrassa in Bajaur Agency which resulted in the deaths of 86 children. His party boycotted the 2008 election. In 2013, he contested on Jamaat-e-Islami's ticket and was elected to the assembly Haq remained the Deputy Ameer of Jamaat-e-Islami until 30 March 2014 when he was elected as the Central Ameer of Jamaat-e-Islami Pakistan.[5] He remains immensely popular in his constituency and known for his modesty among friends and foes alike.[6] <br />He later resigned from His seat in June, 2014 right after budget because according to party rules one man cannot hold two offices at a time. At that time, he was Ameer of Jamaat-e-Islami and Senior Minister in KPK Assembly. <br />He gained immense popularity when Imran Khan And Tahir Ul Qadri announced the Long March against Muhammad Mian Nawaz Sharif, the Government. He acted as a neutral figure and due to his efforts the government became stable. He said that the Jamaat-e-Islami will not let democracy derail. Political Differences aside, We will Save Democracy. For his utmost efforts, he later received the "Baba-e-Jamhooriyat", an award from the Government of Pakistan on 14 August 2014. <br />In 2015 , he fought the election for senate. He won the election and is the senator of Parliament of Pakistan now. He is considered to be a senior member of Parliament of Pakistan.