Martial law has been declared in Pakistan On 7 October 1958, President Iskander Mirza declared Martial Law and appointed General Muhammad Ayub Khan as the Chief Martial Law Administrator and Aziz Ahmad as Secretary General and Deputy Chief Martial Law Administrator. However, three weeks later General Ayub—who had been openly questioning the authority of the government before the imposition of martial law—deposed Iskandar Mirza on 27 October 1958 and a**umed the presidency that practically formalized the militarization of the political system in Pakistan. Four years later a new document, Constitution of 1962, was adopted. The second martial law was imposed on 25 March 1969, when President Ayub Khan abrogated the Constitution of 1962 and handed over power to the Army Commander-in-Chief, General Agha Mohammad Yahya Khan. On a**uming the presidency, General Yahya Khan acceded to popular demands by abolishing the one-unit system in West Pakistan and ordered general elections on the principle of one man one vote.
The third was imposed by Zulfikar Ali Bhutto, the first civilian to hold this post in Pakistan after the Bangladesh Liberation War. On 21 December 1971, Bhutto took this post as well as that of President.[16]
The fourth was imposed by the General Muhammad Zia-ul-Haq on 5 July 1977. After several tumultuous years, which witnessed the secession of East Pakistan, politician Zulfikar Ali Bhutto took over in 1971 as the first civilian martial law administrator in recent history, imposing selective martial law in areas hostile to his rule, such as the country's largest province, Balochistan. Following widespread civil disorder, General Zia overthrew Bhutto and imposed martial law in its totality on July 5, 1977, in a bloodless coup d'état. Unstable areas were brought under control through indirect military action, such as Balochistan under Martial Law Governor, General Rahimuddin Khan. Civilian government resumed in 1988 following General Zia's d**h in an aircraft crash.
On October 12, 1999, the government of Prime Minister Nawaz Sharif was dissolved, and the Army took control once more. But no martial law was imposed. General Pervez Musharraf took the title of Chief Executive until the President of Pakistan Rafiq Tarar resigned and General Musharraf became president. Elections were held in October 2002 and Mir Zafarullah Khan Jamali became Prime Minister of Pakistan. Jamali premiership was followed by Chaudhry Shujaat Hussain and Shaukat Aziz. While the government was supposed to be run by the elected prime minister, there was a common understanding that important decisions were made by the President General Musharraf.
On November 3, 2007, President General Musharraf declared the state of emergency in the country which is claimed to be equivalent to the state of martial law as the constitution of Pakistan of 1973 was suspended, and the Chief Justices of the Supreme Court were fired.
On November 12, 2007, Musharraf issued some amendments in the Military Act, which gave the armed forces some additional powers.