A massive 7.4 magnitude earthquake hit Mexico on Tuesday morning, killing at least one person, damaging buildings in the capital and causing a fire at an oil refinery.

The epicenter was near the beach resort of Huatulco in Oaxaca state on the Pacific coast, according to the U.S. Geological Survey.

Debris was strewn across some sidewalks in Mexico City, more than 400 miles away, as plaster from building facades crumbled. Residents in face masks gathered in the streets, the memories of a deadly 2017 earthquake that killed more than 300 still fresh in their minds.

State-owned oil company Petroleos Mexicanos shut production at its 330,000 barrels per day Salina Cruz refinery in Oaxaca after a fire. A refinery worker was seriously injured during the earthquake, according
to a spokeswoman who asked not to be identified, citing company policy.

President Andres Manuel Lopez Obrador said that so far ports, airports, hydroelectric plants, all are in good condition.

Coronavirus patients remained in their beds as hospital staff evacuated.

“Patients on ventilators or attached to machines are hard to move and at higher risk if we move them, unfortunately,” said David Martinez, a medical resident at Mexico City’s National Institute of Respiratory Diseases, speaking by phone.

Mexico’s stocks and currency pared some gains following the quake but are both higher on the day.

The Pacific Tsunami Warning Center said waves from the quake could threaten the coasts of Mexico, Guatemala, El Salvador and Honduras, and buildings were evacuated as far away as Guatemala.

Lopez Obrador said communications with Oaxaca hadn’t been reestablished. Internet connectivity was impacted in the capital of Oaxaca, but began recovering soon after the quake, according to NetBlocks.org.

“Buildings were shaking but I tried not to look at them because it causes you to panic,” said Juan Sosa Flores, 61, and was speaking over the wail of ambulance sirens on Paseo de la Reforma, a main street in Mexico City’s financial district. He was on the third floor of a building when the earthquake struck.