Muhammad Zia-ul-Haq (Urdu: محمد ضياء الحق; 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, having declared martial law for the third time in the country's history in 1977.