Muhammad Zia-ul-Haq (12 August 1924 – 17 August 1988), was a Pakistani general who served as the 6th President of Pakistan from 1978 until his death in 1988, after declaring martial law in 1977. He was Pakistan's longest-serving head of state.
Educated at Delhi University, Zia saw action in World War II as a British Indian Army officer, before opting for Pakistan in 1947 and fighting in the war against India in 1965. In 1970, he led the Pakistani training mission in Jordan, proving instrumental to putting down the Black September insurgency against King Hussein. In recognition, Prime Minister Zulfikar Ali Bhutto appointed Zia Chief of Army Staff in 1976. Following civil disorder, Zia deposed Bhutto in a military coup and declared martial law on 5 July 1977. Bhutto was controversially tried and executed by the Supreme Court less than two years later, for authorizing the murder of a political opponent.