Elected to replace Nasir for a five-year presidential term in 1978 was Maumoon Abdul Gayoom, a former university lecturer and Maldivian ambassador to the United Nations (UN). The peaceful election was seen as ushering in a period of political stability and economic development in view of Gayoom's priority to develop the poorer islands. In 1978 Maldives joined the International Monetary Fund (IMF) and the World Bank. Tourism also gained in importance to the local economy, reaching more than 120,000 visitors in 1985. The local populace appeared to benefit from increased tourism and the corresponding increase in foreign contacts involving various development projects. Despite coup attempts in 1980, 1983, and 1988, Gayoom's popularity remained strong, allowing him to win three more presidential terms.