A 7.4-magnitude earthquake hit large swaths of southern and central Mexico, killing at least one person, according to the country’s president. The quake struck the southern state of Oaxaca Tuesday.

Mexico’s national seismological service said the quake was felt more than 400 miles away in the capital, Mexico City. Residents fled to the streets as buildings rattled in Mexico City during the quake. President Andrés Manuel López Obrador warned residents to prepare for aftershocks as he reported that damages in some parts of the country.

The U.S. Geological Survey and National Oceanic Atmospheric Administration issued tsunami threats for Mexico's coastlines saying that waves several feet above the tide line could be expected.

Tuesday’s quake set off a tsunami warning for a radius of 621 miles on the Pacific coasts of Mexico and Central America, including Mexico, Guatemala, El Salvador and Honduras, Reuters reported. The quake was also larger than a devastating 2017 quake that killed more than 300 people.

Several videos were posted on social media showing buildings rocking from tremors.

This is a developing story.