2000, which required judges to take a fresh oath of office. On 12 May 2000, the Supreme Court asked Musharraf to hold national elections by 12 October 2002. After President Rafiq Tarar's resignation, Musharraf formally appointed himself as President on 20 June 2001. In August 2002, he issued the Legal Framework Order No. 2002, which added numerous amendments to the Constitution. 2002 general elections Musharraf called for nationwide political elections in the country after accepting the ruling of the Supreme Court of Pakistan. Musharraf was the first military president to accept the rulings of the Supreme Court and holding free and fair elections in 2002, part of his vision to return democratic rule to the country. In October 2002, Pakistan held general elections, which the pro-Musharraf PML-Q won wide margins, although it had failed to gain an absolute majority. The PML-Q formed a government with far-right religious parties coalition, the MMA and the liberals MQM; the coalition legitimised Musharraf's rule. After the elections, the PML-Q nominated Zafarullah Khan Jamali for the office of prime minister, which Musharraf also approved. After first session at the Parliament, Musharraf voluntarily transferred the powers of chief executive to Prime Minister Zafarullah Khan Jamali. Musharraf succeeded to pass the XVII amendment, which grants powers to dissolve the parliament, with approval required from the Supreme Court. Within two years, Jamali proved to be an ineffective prime minister as he forcefully implemented his policies in the country and caused problems with the business class elites. Musharraf accepted the resignation of Jamali and asked his close colleague Chaudhry Shujaat Hussain to appoint a new prime minister in place. Hussain nominated Finance minister Shaukat Aziz, who had been impressive due to his performance as finance minister in 1999. Musharraf regarded Aziz as his right hand and preferable choice for the office of Prime minister. With Aziz appointed as Prime minister, Musharraf transferred all executive powers to Aziz as he trusted Shaukat Aziz. Aziz proved to be extremely capable in running the government; under his leadership economic growth reached to a maximum level, which further stabilised Musharraf's presidency. Aziz swiftly, quietly and quickly undermined the elements seeking to undermine Musharraf, which became a factor in Musharraf's trust in him. Between 2004 and 2007, Aziz approved many projects that did not require Musharraf's permission. In 2010, all constitutional changes carried out by Musharraf and Aziz's policies were reverted by the 18th