<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> <P> Ayub Khan combined the offices of president and prime minister, becoming both the head of state and government . He created a cabinet of technocrats, diplomats and military officers . These included Air Marshal Asghar Khan and Zulfikar Ali Bhutto, the future prime minister . In contrast with future Pakistani military rulers such as Gen. Zia - ul - Haq and Gen. Pervez Musharraf, Ayub Khan did not seek to hold the posts of president and army chief simultaneously . He appointed Gen. Muhammad Musa as the new commander - in - chief . Ayub Khan also obtained judicial validation of his move when the Supreme Court of Pakistan validated and legalised his take - over under the "Doctrine of necessity ." </P>

When did the first martial law in pakistan come to an end