Title: 1999 in Pakistan
Content: President: Muhammad Rafiq Tarar ; Prime Minister: Nawaz Sharif (until 12 October) ; Chief Justice: Ajmal Mian (until 30 June), Saeeduzzaman Siddiqui 
Title: 1999 in Bangladesh
Content: President: Shahabuddin Ahmed ; Prime Minister: Sheikh Hasina ; Chief Justice: A. T. M. Afzal (until 31 May), Mustafa Kamal (starting 1 June) 
Title: Snap election
Content: 1990 general election: The Pakistan Peoples Party (PPP) led by Benazir Bhutto won a plurality of seats in the 1988 election and Bhutto became prime minister. However, by 1990 there was discontent over rising lawlessness, allegations of corruption and the failure of the government to fulfill the promises it had made during the 1988 campaign. ; 1993 general election: The Pakistan Muslim League (N) (PML-N) won the 1990 election and the party's leader, Nawaz Sharif, became prime minister. In early 1993 he attempted to strip the president of the power to dismiss the prime minister, National Assembly and regional assemblies. However, in April 1993 President Khan dismissed 
Title: 1993 Pakistani general election
Content:  The Pakistan Muslim League (N) (PML-N) won the 1990 election and the party's leader, Nawaz Sharif, became Prime Minister. In early 1993 he attempted to strip the President of the power to dismiss the Prime Minister, National Assembly and regional assemblies. However, in April 1993 President Khan dismissed Sharif for corruption and called elections for 14 July after dissolving the National Assembly. Sharif immediately appealed to the Supreme Court, which in May ruled by 10 to 1 that Khan had exceeded his powers and therefore restored Sharif as Prime Minister. Khan and Sharif then began to battle for control of Pakistan for the next two months. They 
Title: 1998 in Pakistan
Content: President: Wasim Sajjad (acting) (until 1 January), Muhammad Rafiq Tarar (starting 1 January) ; Prime Minister: Nawaz Sharif ; Chief Justice: Ajmal Mian 
Title: 1999 Pakistani coup d'état
Content:  The 1999 military takeover in Pakistan was a bloodless coup d'état initiated by the military staff at the Joint Staff HQ working under Chairman of the Joint Chiefs of Staff Committee General Pervez Musharraf. The instigators seized control of the civilian government of publicly elected Prime Minister Nawaz Sharif on 12 October 1999. Simultaneously tenuring as Chief of Army Staff and Chairman of the Joint Chiefs. On 14 October Gen. Musharraf, acting as the country's Chief Executive, issued a controversial provisional order that suspended the Constitution of Pakistan. Martial law was declared due to breakdown of civil-military relations between the Sharif administration and 
Title: 1997 in Pakistan
Content: President: Farooq Leghari (until 2 December), Wasim Sajjad (acting) (starting 2 December) ; Prime Minister: Malik Meraj Khalid (until 17 February), Nawaz Sharif (starting 17 February) ; Chief Justice: Sajjad Ali Shah (until 2 December), Ajmal Mian 
Title: 1997 Pakistani general election
Content:  General elections were held in Pakistan on 3 February 1997 to elect the members of National Assembly. The elections were a fierce contest between Pakistan Peoples Party (PPP) led by pre-election Prime Minister Benazir Bhutto and the Pakistan Muslim League (N) led by Nawaz Sharif. Sharif benefited from the controversial death of Bhutto's brother Murtaza, a populist leader, a worsening economy, and alleged corruption cases against Bhutto's husband Asif Ali Zardari. The elections took place after the previous PPP government was dismissed by President Farooq Leghari for matters of national security. Bhutto's government suffered with financial mismanagement, corruption charges, racial tensions in her native Sindh Province, issues with the judiciary, violations of the constitution, and intra-party and family feuds. After the PPP government was dismissed, a caretaker government was formed under the leadership of Malik Meraj Khalid. The result was a victory for the PML (N), which received most votes ever won by an opposition party at the time. This was the first time PML-N had won an election without being part of any alliance. Sharif subsequently became Prime Minister for a second non-consecutive term. Voter turnout was only 36.0%.
Title: 1990 in Pakistan
Content: Benazir Bhutto is dismissed as Prime Minister of Pakistan on charges of incompetence and corruption. ; 1991 – Prime Minister Nawaz Sharif begins economic liberalisation programme. Islamic Sharia law formally incorporated into legal code. ; 1992 – Government launches campaign to stamp out violence by Urdu-speaking supporters of the Muhajir Qaumi Movement (Haqiqi). ; 1993 – Prime Minister Nawaz Sharif resigns under pressure from military. General election brings Benazir Bhutto back to power. ; 1996 – President Farooq Leghari dismisses Benazir Bhutto government amid corruption allegations. ; 1997 – Nawaz Sharif returns as prime minister after Pakistan Muslim League (N) wins elections. ; 1998 – 
Title: Timeline of Pakistani history
Content:  ; 18 July 1993: President Ghulam Ishaq Khan and Prime Minister Nawaz Sharif both resign under pressure from military. Benazir Bhutto becomes prime minister for the second time. ; 5 November 1996: President Farooq Leghari dismisses Bhutto government. ; 3 February 1997: 1997 Pakistani general election, Nawaz Sharif becomes prime minister for the second time. ;  28 May 1998: Pakistan conducts nuclear tests. ; 12 October 1999: Prime Minister Nawaz Sharif overthrown in military coup led by General Pervez Musharraf. 20 June: General Pervez Musharraf dismissed the president and named himself to the post. ; 15 July: Agra Summit starts. President Pervez 

Question: who was the prime minister of pakistan in 1999?
Answer: Nawaz Sharif.