Pakistan’s post-independence history has alternated between military-controlled civilian governments and periods of direct military rule. In four main episodes – under Ayub Khan (1958–1969), Yahya Khan (1969–1971), Zia-ul-Haq (1977–1988), and Pervez Musharraf (1999–2008) and one side chapter Iskander Mirza (1958). The country was governed by generals who seized power in coups and suspended democratic institutions.
In total, roughly half of Pakistan’s history (about 33 of 75 years) has been under military rule. Each regime imposed martial law or a controlled “guided” democracy, implementing its own constitutional changes and policies. These periods profoundly shaped Pakistan’s political trajectory, strengthening the military’s role and altering civil society, the judiciary, the media, and human rights.
Origins of military rule In all the cases of Military rule, a group of around 4 Military officials were usually behind the unfolding events. They were referred to as the Gang of Four, a quantified and common colloquial implicit term for the influential set of figures behind Pakistan's militarism and coups.
The gang of four of each era included
1950s Source: Ghulam Muhammad, Governor-General of Pakistan Iskander Mirza, Interior Minister and future President of Pakistan Ayub Khan, Commander-in-Chief of the Pakistan Army Chaudhri Muhammad Ali, Finance Minister and future Prime Minister of Pakistan
1970s Source:Lawrence Ziring, Pakistan: At the Crosscurrent of History, Oneworld Publications, 2003.Saeed Shafqat, Civil-Military Relations in Pakistan: From Zulfikar Ali Bhutto to Benazir Bhutto, Westview Press, 1997. Yahya Khan, President and Chief Martial Law Administrator Abdul Hamid Khan, Interior Minister and acting Commander-in-Chief of the Army Nur Khan, Governor of West Pakistan S. M. Ahsan, Governor of East Pakistan (1969-1971)
1980s Source:Hasan-Askari Rizvi, Military, State and Society in Pakistan, Macmillan, 2000.Benazir Bhutto, Daughter of the East, Hamish Hamilton, 1988. Muhammad Zia-ul-Haq, Chief of the Army Staff and President Akhtar Abdur Rahman, Director-General of the Inter-Services Intelligence Khalid Mahmud Arif, Vice Chief of Army Staff Zahid Ali Akbar Khan, Engineer-in-Chief of the Army.
1990s Source:Nasim Zehra, From Kargil to the Coup: Events that Shook Pakistan, Oxford University Press, 2018.Owen Bennett Jones, Pakistan: Eye of the Storm, Yale University Press, 2002. Ehsan ul Haq, Director-General of the Inter-Services Military Intelligence Aziz Khan, Force Commander of Northern Areas and Chief of the General Staff Mahmud Ahmed, Commander of X Corps and Director-General of the ISI Shahid Aziz, Director-General of the Inter-Services Military Operations
Government types by period Period Government Type Head of State Major Military Conflicts 1958–1962 Military Dictatorship (Martial Law) Ayub Khan Bajaur Campaign 1962–1969 Dictatorial Presidential Republic Ayub Khan Kutch Conflict Indo-Pakistani War of 1965 1969–1971 Authoritarian Military Dictatorship (Martial Law) Yahya Khan Bangladesh Liberation War Indo-Pakistani War of 1971 1977–1985 Military Dictatorship (Martial Law) Zia-ul-Haq Siachen Conflict 1985–1988 Dictatorial Presidential Republic Zia-ul-Haq Soviet–Afghan War 1999–2002 Military Rule (Chief Executive) Pervez Musharraf Kargil War 2001-02 India-Pakistan standoff 2002–2008 Dictatorial Presidential Republic Pervez Musharraf War in North-West Pakistan
Ayub Khan (1958–1969) Field Marshal Muhammad Ayub Khan (1907–1974) seized power in Pakistan in a military coup on 27 October 1958, deposing President Iskander Mirza. Ayub, a career soldier-turned-politician, declared martial law and assumed the titles of President and Chief Martial Law Administrator. In his first few years in office, Ayub Khan was approved of by almost all Pakistanis.
Suspending the 1956 Constitution, Ayub Khan sought to build a strong centralized state. In 1962, he promulgated a new presidential constitution, which replaced the parliamentary system with a presidential one and concentrated executive powers in his office. To secure political legitimacy, Ayub introduced the Basic Democracies system in 1959, a controlled electoral framework based on local councils ("basic democrats"), who later formed an electoral college to confirm his presidency through the 1965 presidential election. He defeated Fatima Jinnah, a major opposition figure in a controversial vote widely criticized for irregularities.
Ayub's regime prioritized economic modernization and industrialization. His government launched significant land reforms, initiated the Green Revolution in the Punjab to boost agricultural productivity, and encouraged industrial expansion, especially in textiles and cement sectors. Pakistan's GDP growth averaged over 7% annually during much of the 1960s, and The New York Times and other Western outlets hailed Pakistan as a model for developing economies.
Ayub’s administration also introduced progressive social reforms. The Muslim Family Laws Ordinance 1961 improved women's rights in marriage and inheritance, while pioneering state-led family planning initiatives to curb population growth, unprecedented in Pakistani history. Internationally, Ayub aligned Pakistan firmly with the Western Bloc during the Cold War. Pakistan joined SEATO (1954) and CENTO (1955) and received substantial foreign aid from the United States and later China, strengthening its military and economy.
Despite economic success, Ayub Khan's rule was increasingly viewed as authoritarian. He banned most political parties under the Political Parties Act of 1962, muzzled the press via the 1960 Press and Publications Ordinance, and repressed opposition movements including leftist labor unions, Pashtun, Baloch, and Bengali nationalist groups, as well as religious parties like Jamaat-e-Islami.
The Indo-Pakistani War of 1965 with India over the disputed region of Kashmir ended in a stalemate after the Tashkent Agreement, but it significantly damaged Ayub’s prestige at home. Many Pakistanis saw the war's inconclusive end as a national humiliation. From 1968 onwards, widespread discontent erupted into mass protests across West Pakistan and East Pakistan (modern-day Bangladesh), in what became known as the 1968–69 Pakistan revolution. Students, workers, peasants, and political activists united against Ayub's regime, demanding democratic reforms and the end of military rule.
Facing intense pressure, Ayub Khan agreed to hold talks with opposition leaders and promised constitutional reforms. However, unable to stem the growing unrest or secure a transition acceptable to all parties, he resigned on 25 March 1969, transferring power to the Commander-in-Chief General Yahya Khan, who imposed another period of martial law.
Yahya Khan (1969–1971) General Agha Muhammad Yahya Khan (1917–1980) assumed power on 25 March 1969 following the resignation of President Ayub Khan. Yahya immediately declared martial law and took on the roles of President, Chief Martial Law Administrator, Commander-in-Chief of the Pakistan Army, and Supreme Commander of the Pakistan Armed Forces, concentrating all executive, legislative, and military authority in his hands.
Upon assuming office, Yahya pledged to transition Pakistan back to civilian governance. His government initiated political reforms, notably the dissolution of the controversial One Unit policy, which had amalgamated the provinces of West Pakistan into a single administrative unit. This move restored the original provinces Punjab, Sindh, Balochistan, and North-West Frontier Province (NWFP) as separate entities.
In December 1970, Yahya oversaw Pakistan’s first general election based on the principle of direct adult franchise. The election, considered one of the fairest in Pakistan’s history, resulted in a landslide victory for the Awami League led by Sheikh Mujibur Rahman, which won 160 out of the 162 National Assembly seats allocated to East Pakistan. The PPP, led by Zulfikar Ali Bhutto, dominated West Pakistan but lacked an overall majority. However, the unwillingness of the West Pakistani political establishment to transfer power to the Awami League triggered a severe political crisis. Tensions heightened when Yahya postponed the opening of the National Assembly scheduled for March 1971, leading to mass civil disobedience and widespread protests across East Pakistan.
On 25 March 1971, after negotiations with Mujibur Rahman collapsed, Yahya Khan authorized the launch of Operation Searchlight, a brutal military crackdown intended to suppress the growing Bengali nationalist movements. The operation targeted political activists, students, and civilians, and is widely considered to have involved extensive human rights violations and mass killings. Estimates of the death toll vary, but most historians agree that hundreds of thousands of civilians perished. The atrocities committed during Operation Searchlight galvanized the Bangladesh Liberation War, as the Mukti Bahini (Bengali guerrilla forces) intensified their resistance with support from India.
On 3 December 1971, Pakistan launched pre-emptive Operation Chengiz Khan, a series of airstrikes against Indian airbases, aiming to neutralize India's capability to intervene. However, India responded by launching a full-scale invasion of East Pakistan, leading to rapid Pakistani military collapse. On 16 December 1971, Yahya Khan ordered the Eastern Command of the Pakistan Army under Lieutenant General A. A. K. Niazi to surrender to the combined Indian and Mukti Bahini forces in Dhaka, resulting in the creation of the new sovereign state of Bangladesh.
In the aftermath of Pakistan's defeat, Yahya Khan faced widespread condemnation from both the public and some junior officers in the military establishment. On 20 December 1971, under intense pressure, he resigned from the presidency and handed over power to Zulfikar Ali Bhutto, who assumed control as both President and Chief Martial Law Administrator.
Zia-ul-Haq (1977–1988) General Muhammad Zia-ul-Haq (1924–1988) seized power in a bloodless coup on 5 July 1977, overthrowing Prime Minister Zulfikar Ali Bhutto and his elected government. Declaring martial law, Zia became the Chief Martial Law Administrator, while retaining his position as Chief of Army Staff (Pakistan). Although he initially pledged to hold fresh elections within 90 days, he indefinitely postponed them and consolidated power.
In April 1979, Bhutto was controversially tried, convicted of ordering a political assassination, and executed by hanging under Zia’s rule, a decision widely criticized internationally as politically motivated. With his chief rival eliminated, Zia embarked on a program of Islamization, later known as Ziaism.
Zia's Islamization policies fundamentally reshaped Pakistan’s legal and social systems. His regime promulgated the Hudood Ordinances in 1979, instituting Islamic punishments (hudud) for offenses like adultery, theft, and consumption of alcohol. The 1984 Law of Evidence devalued women's testimony to half that of a man’s in financial matters. Economic changes included the promotion of Islamic banking and the mandatory zakat (charity) deduction system.
In parallel, Zia restructured the political system to entrench military dominance. He suspended the 1973 Constitution of Pakistan, dissolved Parliament, banned political parties, and ruled through a tightly controlled Majlis-e-Shura (consultative council) appointed by decree. In the 1985 Pakistani general election, Zia permitted elections on a strictly non-party basis, appointing Muhammad Khan Junejo as Prime Minister, though retaining decisive authority.