When General Zia ul-Haq led a coup against Zulfikar Ali Bhutto in 1977, and subsequently hanged him in 1978 under the pretence of plotting to kill political opponents, it was then that the present deplorable state of Pakistan was etched in to history in advance.
Irony of irony was that Bhutto himself chose ul-Haq as the Chief of Army in 1976 despite his lack of seniority thinking more senior officers posed greater threat to his survival. But then the history of Pakistan, and indeed the Muslim empire in South Asia is replete with blood letting by benefactors and family members of those that greatly helped them. Aurangzeb, effectively the last Mughal Emperor of India, executed his brother Dara Shikoh and put his father, Shah Jahan — of Taj Mahal fame — under house arrest until his death.
Zia ul-Haq started off supremely unpopular both at home and abroad. However, it was the 1979 invasion of Afghanistan by the Soviets that saved his illegitimate presidency. The United States, who had decried General Zia up until that time had no other option but to support him to in turn get support for their agenda in Afghanistan. Zia also courted the Islamic ideologues in Pakistan and abroad. This allowed him stability at home and cash pouring in from United States — to support the destruction of the Soviets at any cost — and Saudi Arabia — to spread the Wahabi form of Islam – a most conservative form of Islam. Money from both sources funneled to the Islamic ideologues who set up Madarassas to train the mujahedeens that spread across Afghanistan and later became the Taleban and Al Qaeda.