<Tr> <Td> </Td> <Td> Independent </Td> </Tr> <Tr> <Td> </Td> <Td> Position abolished / vacant </Td> </Tr> <Table> List of Prime Ministers of Pakistan <Tr> <Th> (hide) No . </Th> <Th> Portrait </Th> <Th> Name (Birth--death) </Th> <Th> Took office </Th> <Th> Left office </Th> <Th> Tenure </Th> <Th> Elections </Th> <Th_colspan="2"> Political party (Alliance) </Th> <Th> Note (s) </Th> </Tr> <Tr> <Td> </Td> <Td> </Td> <Th> Liaquat Ali Khan (1895--1951) </Th> <Td> 14 August 1947 </Td> <Td> 16 October 1951 (assassinated) </Td> <Td> 4 Years, 2 Months, 2 Days, </Td> <Td>--</Td> <Td> Muslim League </Td> <Td> </Td> <Td> Liaquat Ali Khan was appointed as the first Prime Minister of Pakistan by the Governor - General in 1947 . He was assassinated in 1951, and Khawaja Nazimuddin took the office . </Td> </Tr> <Tr> <Td_colspan="10;"> 16 October 1951--17 October 1951 </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Th> Khawaja Nazimuddin (1894--1964) </Th> <Td> 17 October 1951 </Td> <Td> 17 April 1953 </Td> <Td> 1 Year, 6 Months, </Td> <Td>--</Td> <Td> Muslim League </Td> <Td> </Td> <Td> Nazimuddin became Prime Minister of Pakistan after the assassination of Liaquat Ali Khan in 1951 . He left the office when governor general Malik Ghulam Muhammad dissolved his government in 1953 . </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Th> Muhammad Ali Bogra (1909--63) </Th> <Td> 17 April 1953 </Td> <Td> 12 August 1955 </Td> <Td> 2 Years, 3 Months, 26 Days, </Td> <Td>--</Td> <Td> Muslim League </Td> <Td> </Td> <Td> A relatively unknown personality to Pakistani politics, Bogra replaced Khwaja Nazimuddin as Prime Minister . Iskander Mirza, the then - governor general, dismissed his government in 1955 . </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Th> Chaudhry Muhammad Ali (1905--80) </Th> <Td> 12 August 1955 </Td> <Td> 12 September 1956 </Td> <Td> 1 Year, 1 Month, </Td> <Td>--</Td> <Td> Muslim League </Td> <Td> </Td> <Td> Ali took office after in 1955 . He resigned from the post in 1956, due to the conflicts with the governor general . </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Th> Huseyn Shaheed Suhrawardy (1892--1963) </Th> <Td> 12 September 1956 </Td> <Td> 17 October 1957 </Td> <Td> 1 Year, 1 Month, 5 Days, </Td> <Td>--</Td> <Td> Awami League </Td> <Td> </Td> <Td> Suhrawardy held the post for more than a year . He subsequently resigned in 1957, due to differences with Iskander Mirza . </Td> </Tr> <Tr> <Td> 6 </Td> <Td> </Td> <Th> Ibrahim Ismail Chundrigar (1898--1968) </Th> <Td> 17 October 1957 </Td> <Td> 16 December 1957 </Td> <Td> 1 Month, 29 Days, </Td> <Td>--</Td> <Td> Muslim League </Td> <Td> </Td> <Td> Chundrigar was appointed by Iskander Mirza after the resignation of Suhrawardy . He remained prime minister for almost two months . Chundrigar resigned from the post in December 1957 . </Td> </Tr> <Tr> <Td> 7 </Td> <Td> </Td> <Th> Feroz Khan Noon (1893--1970) </Th> <Td> 16 December 1957 </Td> <Td> 7 October 1958 </Td> <Td> 9 Months, 21 Days, </Td> <Td>--</Td> <Td> Republican Party </Td> <Td> </Td> <Td> Noon was elected as the seventh Prime Minister of Pakistan . He was dismissed during the 1958 Pakistani coup d'état . </Td> </Tr> <Tr> <Td_colspan="10;"> 7 October 1958--7 December 1971 </Td> </Tr> <Tr> <Td> 8 </Td> <Td> </Td> <Th> Nurul Amin (1893--1974) </Th> <Td> 7 December 1971 </Td> <Td> 20 December 1971 </Td> <Td> 13 Days, </Td> <Td> 7 December 1970 </Td> <Td> Pakistan Muslim League </Td> <Td> </Td> <Td> Amin was appointed by Yahya Khan as the eighth Prime Minister of Pakistan; he was also the first and the only Vice President of Pakistan from 1970 to 1972, leading Pakistan in the Indo - Pakistani War of 1971 . </Td> </Tr> <Tr> <Td_colspan="10;"> 20 December 1971--14 August 1973 </Td> </Tr> <Tr> <Td> 9 </Td> <Td> </Td> <Th> Zulfikar Ali Bhutto (1928--79) </Th> <Td> 14 August 1973 </Td> <Td> 5 July 1977 </Td> <Td> 3 Years, 10 Months, 21 Days, </Td> <Td> 14 August 1973 </Td> <Td> Pakistan People's Party </Td> <Td> </Td> <Td> Bhutto resigned as president to become the Prime Minister after the 1973 Constitution was promulgated, which established a parliamentary system of government . He was deposed in the 1977 Pakistani coup d'état by General Muhammad Zia - ul - Haq in July 1977 . </Td> </Tr> <Tr> <Td_colspan="10;"> 5 July 1977--24 March 1985 </Td> </Tr> <Tr> <Td> 10 </Td> <Td> </Td> <Th> Muhammad Khan Junejo (1932--93) </Th> <Td> 24 March 1985 </Td> <Td> 29 May 1988 </Td> <Td> 3 Years, 2 Months, 5 Days, </Td> <Td> 28 February 1985 </Td> <Td> Pakistan Muslim League (Independent) </Td> <Td> </Td> <Td> Junejo was elected as the tenth Prime Minister of Pakistan in non-party based elections in 1985, therefore he was elected on an Independent ticket but he served the Pakistan Muslim League while before entering in office and during office . He was dismissed by the president after Eighth Amendment to the Constitution . </Td> </Tr> <Tr> <Td_colspan="10;"> 29 May 1988--2 December 1988 </Td> </Tr> <Tr> <Td> 11 </Td> <Td> </Td> <Th> Benazir Bhutto (1953--2007) </Th> <Td> 2 December 1988 </Td> <Td> 6 August 1990 </Td> <Td> 1 Year, 8 Months, 4 Days, </Td> <Td> 16 November 1988 </Td> <Td> Pakistan People's Party </Td> <Td> </Td> <Td> Bhutto became the first woman in Pakistan to head a major political party, in 1982 . Six years later, she became the first woman elected to lead a Muslim state . </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Th> Ghulam Mustafa Jatoi (1931--2009) </Th> <Td> 6 August 1990 </Td> <Td> 6 November 1990 </Td> <Td> 3 Months, </Td> <Td>--</Td> <Td> National Peoples Party </Td> <Td> </Td> <Td> Jatoi was appointed by President Ghulam Ishaq Khan as a caretaker Prime Minister . </Td> </Tr> <Tr> <Td> 12 </Td> <Td> </Td> <Th> Nawaz Sharif (1949--) </Th> <Td> 6 November 1990 </Td> <Td> 18 April 1993 </Td> <Td> 2 Years, 5 Months, 12 Days, </Td> <Td> 24 October 1990 </Td> <Td> Pakistan Muslim League (N) </Td> <Td> </Td> <Td> Sharif was elected as the 12th Prime Minister of Pakistan on 1 November 1990 . President Ghulam Ishaq Khan dissolved his government in April 1993, which was later on reinstated by the Supreme Court of Pakistan . </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Th> Balakh Sher Mazari (1928--) </Th> <Td> 18 April 1993 </Td> <Td> 26 May 1993 </Td> <Td> 1 Month, 8 Days, </Td> <Td>--</Td> <Td> Pakistan People's Party </Td> <Td> </Td> <Td> Appointed by the President Khan as a caretaker Prime Minister, Mazari's term ended when the Supreme Court overturned the Presidential order and restored Sharif's government . </Td> </Tr> <Tr> <Td> (12) </Td> <Td> </Td> <Th> Nawaz Sharif (1949--) </Th> <Td> 26 May 1993 </Td> <Td> 18 July 1993 </Td> <Td> 1 Month, 22 Days, </Td> <Td>--</Td> <Td> Pakistan Muslim League (N) </Td> <Td> </Td> <Td> Sharif survived a serious constitutional crisis when President Khan attempted to dismiss him under article 58 - 2b, in April 1993, but he successfully challenged the decision in the Supreme Court . Sharif resigned from the post negotiating a settlement that resulted in the removal of President as well, in July 1993 . </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Th> Moeenuddin Ahmad Qureshi (1930--2016) </Th> <Td> 18 July 1993 </Td> <Td> 19 October 1993 </Td> <Td> 3 Months, 1 Day, </Td> <Td>--</Td> <Td> Independent </Td> <Td> </Td> <Td> After Sharif's resignation in July 1993, Qureshi was appointed as the caretaker Prime Minister . </Td> </Tr> <Tr> <Td> (11) </Td> <Td> </Td> <Th> Benazir Bhutto (1953--2007) </Th> <Td> 19 October 1993 </Td> <Td> 5 November 1996 </Td> <Td> 3 Years, 17 Days, </Td> <Td> 6 October 1993 </Td> <Td> Pakistan People's Party </Td> <Td> </Td> <Td> Bhutto was re-elected for a second term, in 1993 . She survived an attempted coup d'état in 1995 . Bhutto's government was dismissed by president Farooq Leghari in November 1996 . </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Th> Malik Meraj Khalid (1916--2003) </Th> <Td> 5 November 1996 </Td> <Td> 17 February 1997 </Td> <Td> 3 Months, 12 Days, </Td> <Td>--</Td> <Td> Independent </Td> <Td> </Td> <Td> Khalid was appointed as a caretaker Prime Minister after the dismissal of Bhutto's government in November 1996 . </Td> </Tr> <Tr> <Td> (12) </Td> <Td> </Td> <Th> Nawaz Sharif (1949--) </Th> <Td> 17 February 1997 </Td> <Td> 12 October 1999 </Td> <Td> 2 Years, 7 Months, 25 Days . </Td> <Td> 3 February 1997 </Td> <Td> Pakistan Muslim League (N) </Td> <Td> </Td> <Td> Sharif was re-elected as Prime Minister with an exclusive mandate from all over Pakistan for a non-consecutive second term, in February 1997 . His government was deposed by General Pervez Musharraf in October 1999, and Martial law was imposed in the entire country . </Td> </Tr> <Tr> <Td_colspan="10;"> 12 October 1999--23 November 2002 </Td> </Tr> <Tr> <Td> 13 </Td> <Td> </Td> <Th> Zafarullah Khan Jamali (1944--) </Th> <Td> 23 November 2002 </Td> <Td> 26 June 2004 </Td> <Td> 1 Year, 7 Months, 3 Days, </Td> <Td> 10 October 2002 </Td> <Td> Pakistan Muslim League (Q) </Td> <Td> </Td> <Td> Jamali was elected as the Prime Minister of Pakistan in November 2002 . He continued the foreign and economic policies of Pervez Musharraf but could not complete his term and resigned from the post in June 2004 . </Td> </Tr> <Tr> <Td_colspan="10;"> 26 June 2004--30 June 2004 </Td> </Tr> <Tr> <Td> 14 </Td> <Td> </Td> <Th> Chaudhry Shujaat Hussain (1946--) </Th> <Td> 30 June 2004 </Td> <Td> 26 August 2004 </Td> <Td> 1 Month, 27 Days, </Td> <Td>--</Td> <Td> Pakistan Muslim League (Q) </Td> <Td> </Td> <Td> Parliament elected Chaudhry Shujaat Hussain as the Prime Minister and to serve a 50 - day period before the Shaukat Aziz, permanently replaces him . </Td> </Tr> <Tr> <Td_colspan="10;"> 26 August 2004--28 August 2004 </Td> </Tr> <Tr> <Td> 15 </Td> <Td> </Td> <Th> Shaukat Aziz (1949--) </Th> <Td> 28 August 2004 </Td> <Td> 15 November 2007 </Td> <Td> 3 Years, 2 Months, 18 Days, </Td> <Td>--</Td> <Td> Pakistan Muslim League (Q) </Td> <Td> </Td> <Td> Aziz took the office of Prime Minister of Pakistan in August 2004 . He left the office at the end of the parliamentary term, in November 2007, and became the first Prime Minister of Pakistan who left the seat after completion of parliamentary term . </Td> </Tr> <Tr> <Td_colspan="10;"> 15 November 2007--16 November 2007 </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Th> Muhammad Mian Soomro (1950--) </Th> <Td> 16 November 2007 </Td> <Td> 24 March 2008 </Td> <Td> 4 Months, 8 Days, </Td> <Td>--</Td> <Td> Pakistan Muslim League (Q) </Td> <Td> </Td> <Td> Soomro took the office as caretaker Prime Minister in November 2007 . </Td> </Tr> <Tr> <Td> 16 </Td> <Td> </Td> <Th> Yousaf Raza Gillani (1952--) </Th> <Td> 25 March 2008 </Td> <Td> 19 June 2012 </Td> <Td> 4 Years, 2 Months, 25 Days . </Td> <Td> 18 February 2008 </Td> <Td> Pakistan People's Party </Td> <Td> </Td> <Td> Gillani was elected as prime minister in March 2008 . He was disqualified from his seat in the parliament in April 2012 by the Supreme Court for contempt of court . </Td> </Tr> <Tr> <Td_colspan="10;"> 19 June 2012--22 June 2012 </Td> </Tr> <Tr> <Td> 17 </Td> <Td> </Td> <Th> Raja Pervaiz Ashraf (1950--) </Th> <Td> 22 June 2012 </Td> <Td> 24 March 2013 </Td> <Td> 9 Months, 2 Days, </Td> <Td>--</Td> <Td> Pakistan People's Party </Td> <Td> </Td> <Td> Ashraf assumed the post of Prime Minister in June 2012, after Yousaf Raza Gillani was disqualified over contempt of court charges . </Td> </Tr> <Tr> <Td_colspan="10;"> 24 March 2013--25 March 2013 </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Th> Mir Hazar Khan Khoso (1929--) </Th> <Td> 25 March 2013 </Td> <Td> 5 June 2013 </Td> <Td> 2 Months, 11 Days, </Td> <Td>--</Td> <Td> Independent </Td> <Td> </Td> <Td> Khoso was appointed by the Election Commission of Pakistan on 24 March, and took oath on 25 March 2013 . </Td> </Tr> <Tr> <Td> (12) </Td> <Td> </Td> <Th> Muhammad Nawaz Sharif (1949--) </Th> <Td> 5 June 2013 </Td> <Td> 28 July 2017 </Td> <Td> 4 Years, 1 Month, 23 Days, </Td> <Td> 11 May 2013 </Td> <Td> Pakistan Muslim League (N) </Td> <Td> </Td> <Td> On 5 June 2013, Sharif took office for a third non-consecutive term . He took oath under Asif Ali Zardari, the then - president of Pakistan . </Td> </Tr> <Tr> <Td_colspan="10;"> 28 July 2017--1 August 2017 </Td> </Tr> <Tr> <Td> 18 </Td> <Td> </Td> <Th> Shahid Khaqan Abbasi (1958--) </Th> <Td> 1 August 2017 </Td> <Td> Incumbent </Td> <Td> _ </Td> <Td>--</Td> <Td> Pakistan Muslim League (N) </Td> <Td> </Td> <Td> Parliament elected Shahid Khaqan Abbasi as the Prime Minister after the disqualification of Nawaz Sharif . </Td> </Tr> </Table> <Tr> <Th> (hide) No . </Th> <Th> Portrait </Th> <Th> Name (Birth--death) </Th> <Th> Took office </Th> <Th> Left office </Th> <Th> Tenure </Th> <Th> Elections </Th> <Th_colspan="2"> Political party (Alliance) </Th> <Th> Note (s) </Th> </Tr>

Who was the third prime minister of pakistan