Former Mexican President Miguel de la Madrid, who led the country amid economic meltdown and natural disaster in the 1980s, has died. He was 77.

The former president died Sunday at a Mexico City hospital where he was admitted several weeks ago for respiratory problems.

Former Mexican President Dies

Elected president in 1982, de la Madrid launched a massive free-market transformation of the Mexican economy, bringing soaring inflation under control.

Former Mexican President Dies

But his administration was criticized for its handling of the 8.1 earthquake that struck Mexico City in September 1985, killing at least 9,000 people. Residents were forced to mount their own relief operations to help the homeless in the face of government inaction, as de la Madrid barred the military from taking part and refused international aid.

Former Mexican President Dies

He was voted out of office in 1988.