 In July 1977, following political agitation by an opposition alliance, Bhutto was forced out of office in a military coup d'état.The new military dictatorship government, under General Muhammad Zia-ul-Haq, was ideologically ultraconservative and religiously oriented in its nature and approach in contrast to the more secular Iran at the time.The 1979 Iranian Revolution led progressive Iranian-Pakistani relations to deteriorate as opposed to prospering like they did during the reign of the Shah.