Managua , the capital of Nicaragua , was devastated by earthquakes in 1931 and 1972 ; the latter killed about 5,000 people .
Managua , the capital of Nicaragua , was devastated by earthquakes in 1931 and 1972 .