After a year in office, Sattar was overthrown in the 1982 Bangladesh coup d'état. Chief Justice A. F. M. Ahsanuddin Chowdhury was installed as president, but army chief Hussain Muhammad Ershad became the country's "de facto" leader and assumed the presidency in 1983. Ershad lifted martial law in 1986. He governed with four successive prime ministers (Ataur Rahman Khan, Mizanur Rahman Chowdhury, Moudud Ahmed and Kazi Zafar Ahmed) and a parliament dominated by his Jatiyo Party. General elections were held in 1986 and 1988, although the latter was boycotted by the opposition BNP and Awami League. Ershad pursued administrative decentralisation, dividing the country into 64 districts, and pushed Parliament to make Islam the state religion in 1988. A 1990 mass uprising forced him to resign, and Chief Justice Shahabuddin Ahmed led the country's first caretaker government as part of the transition to parliamentary rule.