Mexico's most powerful earthquake in a century killed at least 58 people, officials said Friday, after it struck the Pacific coast, wrecking buildings and sending families fleeing into the streets.Rescue workers rushed to the worst scenes of destruction, in the southern states of Oaxaca and Chiapas, where officials warned there may be people trapped in the ruins.President Enrique Pena Nieto described the 8.2 magnitude quake as "the largest registered in our country in at least the past 100 years" – stronger even than a devastating 1985 earthquake that killed more than 10,000 people in Mexico City.The head of the country's disaster response agency, Luis Felipe Puente, said 45 people were killed in Oaxaca, 10 in Chiapas and three in Tabasco.The Chiapas governor, Manuel Velasco, put the death toll there even higher, saying 12 people had died. Officials warned the toll could continue to rise across the three hard-hit southern states.The worst destruction appeared to be in Juchitan, Oaxaca, where 17 bodies were pulled from the rubble.Houses, schools and churches split down the middle by the quake spilt their innards onto the ground in the predominantly indigenous town of 75,000 people.Most stores were closed, and the eerily quiet streets were a maze of ruins. Roofs, cables, insulation and concrete chunks were scattered everywhere.The only crowds were at gas stations, where people formed long lines, fearing shortages.A local hotel collapsed, the town hall partly caved in, and many homes were badly damaged.In Tabasco, the death toll included two children. One was crushed by a collapsing wall. Another, an infant on a respirator, died after the quake triggered a power outage.Pope Francis, at an open air mass on a visit to Colombia, said he was praying "for those who have lost their lives and their families" in the quake.More than 200 people were injured across Mexico, officials said.Four people were also injured in neighbouring Guatemala.The quake epicentre was about 100 kilometres (60 miles) from the coastal town of Tonala, in far southern Chiapas state. It hit at 11:49 pm Thursday, Mexico's seismologic service said.The US Geological Survey put the magnitude slightly lower, at 8.1 – the same as the 1985 quake, the country's most destructive ever.The quake shook a large swath of the country and was felt as far north as Mexico City – some 800 kilometres from the epicentre – where people fled their homes after hearing sirens go off as buildings trembled and swayed.Many of those fleeing were in their night clothes. Some clutched babies and pets as they stumbled onto the streets."Not another one. God, please no," said one woman, falling to her knees to pray.Onelia Guerra, an anxious Oaxaca local who was in the capital, was taking a plane back to home to check on her family."My father and my 14-year-old son are alone there," she told AFP.The quake struck as Mexicans were also bracing for the impact of Hurricane Katia, which strengthened to a Category Two storm as it rumbled towards the state of Veracruz on the Gulf Coast.It is one of three active hurricanes in the Atlantic Ocean alongside Irma and Jose.Pena Nieto, who was due to tour Chiapas later Friday, said 50 million people out of Mexico's population of 120 million people felt the quake.Mexican officials ordered schools to remain closed Friday in 11 states, including Mexico City, so they could inspect for structural damage.The quake struck at a depth of 69.7 kilometres, according to the USGS.Initially, authorities issued a tsunami alert for a huge stretch of coastline starting in central Mexico and spanning Central America all the way down to Ecuador.It was later lifted, but Mexico remained on alert for aftershocks. There have been more than 260 so far, Pena Nieto said.Since the 1985 earthquake, Mexican authorities have instituted a stricter building code and developed an alert system using sensors placed on the coasts.Mexico sits atop five tectonic plates, whose movement makes it one of the most seismically active countries in the world.