At least two people have died in a powerful earthquake that rocked southern Mexico overnight Thursday, the government said.

The two fatalities came in the southern state of Chiapas, Interior Minister Miguel Angel Osorio Chong said. The quake hit off the coast of Chiapas.

The interior ministry said the quake had a magnitude of 8.4, while the US Geological Survey put it at a revised 8.1, up from 8.0 initially.