Prime Minister of Pakistan departure of Pervez Musharraf allowed Asif Zardari to become President. In 2010, the XVIII Amendment to the Constitution of Pakistan was passed to reverse the XVII amendment; it returned the country to being a parliamentary democratic republic. In addition, the XVIII Amendment removed all powers of the presidency to dissolve the Parliament unilaterally and sweep away the powers amassed by the former presidents Pervez Musharraf and Zia-ul-Haq to maintain a delicate check and balance. Following a contempt of court case, the Supreme Court permanently disqualified Prime Minister Yousuf Raza Gillani. Originally, the PPP nomination was Makhdoom Shahbuddin, but he was
Prime Minister of Pakistan ceased at least one Prime Minister from retaining the office due to contempt of court after retroactively disqualifying the membership of the parliament permanently. On 28 July 2017, the Supreme Court of Pakistan disqualified the Prime Minister Nawaz Sharif from retaining the office due to his failure in fulfilling the eligibility requirements as enshrined in Articles 62 of the Constitution. This was in the aftermath of the Supreme Court hearing regarding the Panama Papers Case. This also resulted in him being permanently disqualified from membership of the parliament. The prime minister is elected by the National Assembly. The National Assembly