The city was declared the national capital in 1852. Previously, the capital alternated between the cities of León and Granada. The 1972 Nicaragua earthquake and years of civil war in the 1980s severely disrupted and stunted Managua's growth. It was not until the mid-1990s that Managua began to see a resurgence.