MEXICO CITY (AP) - A major earthquake off Mexico's southern coast killed at least five people, with the president saying Friday it was the biggest in a century to hit the country. Houses and at least one hotel toppled, electricity was cut and people fled into the streets in panic.
The U.S. Geological Survey reported the earthquake's magnitude as 8.1 and said it was centered off of Chiapas state near the Guatemalan border. But President Enrique Pena Nieto quoted local calculations it was 8.2, making it the largest in Mexico in 100 years - even larger than the magnitude 8.1 quake in 1985, which killed thousands and devastated large sections of Mexico City.
Officials said at least five people died, but the death toll could rise as authorities assess the damage. The government closed schools Friday in at least 11 states to check them for safety.
The U.S. Geological Survey recorded at least 20 aftershocks of magnitude 4.0 or greater within about five hours after the main shake, and the president warned that a major aftershock as large as magnitude 7.2 could occur.
Pena Nieto said that serious damage had been caused and that 1 million customers initially had been without power following the quake, but that electricity had been restored to 800,000 of them.
The USGS said the quake struck at 11:49 p.m. Thursday local time and its epicenter was 1o2 miles (165 kilometers) west of Tapachula in Chiapas. It had a depth of 69.7 kilometers (43.3 miles).
The quake caused buildings to sway violently in Mexico's capital more than 1,000 kilometers (650 miles) away. Residents fled buildings, many in their pajamas, and gathered in frightened groups in the street. Some neighborhoods remained in darkness after electricity was knocked out.
"The house moved like chewing gum and the light and internet went out momentarily," said Rodrigo Soberanes, who lives near San Cristobal de las Casas in the southernmost state of Chiapas.
Chiapas Gov. Manuel Velasco said that three people were killed in San Cristobal, including two women who died when a house and a wall collapsed. He called on people living near the coast to leave their houses as a protective measure.
"There is damage to hospitals that have lost energy," he said. "Homes, schools and hospitals have been damaged."
Tabasco Gov. Arturo Nunez said two children had died in his Gulf coast state. One of them was killed when a wall collapsed, and the other was a baby who died in a children's hospital that lost electricity, cutting off the infant's ventilator.
The Pacific Tsunami Warning Center said waves of one meter (3.3 feet) above the tide level were measured off Salina Cruz, Mexico. Smaller tsunami waves were observed on the coast or measured by ocean gauges in several other places. The center's forecast said Ecuador, El Salvador and Guatemala could see waves of a meter or less. No threat was posed to Hawaii and the western and South Pacific.
Mexican authorities said they were evacuating some residents of coastal Puerto Madero because of the warning.
Meanwhile, Mexico was bracing for another natural emergency on the other side of the country. The U.S. National Hurricane Center said Hurricane Katia was likely to strike the Gulf coast in the state of Veracruz early Saturday as a Category 2 storm that could bring life-threatening floods.
In neighboring Guatemala, President Jimmy Morales spoke on national television to call for calm while emergency crews checked for damage.
"We have reports of some damage and the death of one person, even though we still don't have details," Morales said. He said the unconfirmed death occurred in San Marcos state near the border with Mexico.
The quake occurred in a very seismically active region near the point of collision between three tectonic plates, the Cocos, the Caribbean and the North American.
Mexico's National Seismological Service said the area has seen at least six other quakes of magnitude 7.0 or greater since 1900 - though three of those all occurred within a nerve-wracking nine-month span in 1902-1903.
Frank Griffiths in London contributed to this report.