administrator under President Sayem. Under the dramatically altered dispensation, Bangladesh feared an invasion from India backed by the Soviet Union, as the new government in Dhaka received recognition from Pakistan, Saudi Arabia and China. According to declassified US records, Bangladesh received assurances from the United States of Western support for its sovereignty and territorial integrity. The dispute over the sharing the water of the Ganges, due to India's construction of the Farakka Barrage, led Bangladesh to seek the intervention of the United Nations in 1976. The dispute was addressed through a bilateral agreement in 1977. Lt Gen Ziaur Rahman (popularly known as Zia) assumed the presidency from Justice Sayem on 21 April 1977. Zia formed the Bangladesh Nationalist Party (BNP). Parliamentary elections were held in 1979, in which the BNP gained a landslide majority and the Awami League became the principal opposition party. President Zia restored free markets, redefined socialism as "economic and social justice" in the constitution and crafted a foreign policy which emphasised solidarity with Muslim majority countries and regional co-operation in South Asia. Bangladesh achieved rapid economic and industrial growth under Zia's presidency. The government built the country's first export processing zones. It operated a popular food-for-work programme, reversed the collectivisation of farms and promoted private sector development. Bangladesh's growing anti-communist profile saw President Zia strongly opposing the Soviet invasion of Afghanistan. Zia faced twenty one attempted coups against his government, including one by the air force. His one time ally Colonel Abu Taher was tried for treason and executed. Similar fates were met by many of his perceived rivals in the armed forces. However, the final coup attempt resulted in his assassination in 1981. Zia was killed by troops loyal to Major General Abul Manzoor who stormed his official residence in Chittagong on 30 May 1981. The mutiny was later suppressed by army chief Lieutenant General Hussain Muhammad Ershad. Sattar administration Zia was succeeded by Vice-President Abdus Sattar. President Sattar received a popular mandate during the 1981 presidential election, despite allegations of vote rigging by his rival Kamal Hossain. Sattar's presidency was marked by infighting within the ruling BNP, which forced cabinet reshuffles and the resignation of Vice-President Mirza Nurul Huda. A national security council was formed amid anti-Bengali Muslim violence in Northeast India and Burma. Sattar also suffered from health problems due to old age. The 1982 Bangladesh coup d'état deposed President Sattar and his