General Muhammad Zia-ul-Haq staged a coup in 1977 against Prime Minister Zulfiqar Ali Bhutto. He suspended the constitution and imposed martial law. Zia ruled for over 11 years until his death in a plane crash in 1988. During his rule, Zia pursued the Islamization of laws and society in Pakistan, oversaw the Soviet-Afghan War, and engaged in a power struggle with Prime Minister Junejo before dismissing him in 1988. Zia's rule was the longest period of martial law in Pakistan's history.