<P> The 1958 Pakistani coup d'état refers to the events between October 7, when the President of Pakistan Iskander Mirza abrogated the Constitution of Pakistan and declared martial law, and October 27, when Mirza himself was deposed by Gen. Ayub Khan, the Commander - in - Chief of the Pakistani Army . Pakistan's first military coup followed a period of prolonged political instability in which Pakistan's dominant political party, the Pakistan Muslim League, was unable to successfully govern on the basis of shared programs or policies . Broadly, political scientists have argued that the susceptibility of a military system to coups is inversely correlated with the strength of its political parties . </P> <P> In 1956, the Constituent Assembly of Pakistan approved a constitution that ended Pakistan's status of an independent Dominion of the British Empire, to create the Islamic Republic of Pakistan . Maj. Gen. Iskander Mirza, the last Governor General of Pakistan, simultaneously became the state's first president . However, the new constitution was followed by political turmoil in Pakistan, which saw a succession of four prime ministers - Chaudhry Muhammad Ali, Huseyn Shaheed Suhrawardy, Ibrahim Ismail Chundrigar and Sir Feroz Khan Noon - in a period of two years . There was already a precedent in Governor General Malik Ghulam Muhammad dismissing prime ministers and ruling by decree, and many viewed Mirza as manipulating the constitution and instigating ousters of governments . The One Unit scheme amalgamating the provinces of Pakistan into two wings - West Pakistan and East Pakistan - was politically controversial and proving difficult to administer . The quick succession of prime ministers fostered the view within the military and in the public that Pakistani politicians were too weak and corrupt to govern effectively, and that the parliamentary system was flawed . </P> <P> On October 7, President Mirza declared martial law in Pakistan . He abrogated the constitution of 1956, describing it as "unworkable" and full of "dangerous compromises ." He dismissed the government of Sir Feroz Khan Noon, dissolved the National Assembly of Pakistan and the provincial legislatures . Mirza also proceeded to outlaw all political parties . He appointed General Ayub Khan, the Commander - in - Chief of the Pakistani army as the Chief Martial Law Administrator and nominated him to become the new Prime Minister of Pakistan, charged with administering the country . </P> <P> On October 27, Iskander Mirza resigned from the presidency, transferring it to Ayub Khan . Both men saw the other as a rival to their respective positions . Mirza believed his own position had become largely redundant after Ayub Khan assumed most executive powers as chief martial law administrator and prime minister, and acted to assert himself, while Ayub Khan thought Mirza was conspiring against him . It is widely held that Ayub Khan and generals loyal to him forced Mirza to resign . Mirza was later taken to Quetta, the capital of the province of Baluchistan, before being exiled on November 27 to London, England, where he resided until his death in 1969 . </P>

Who was the prime minister of pakistan when martial law was imposed in 1958