( CNN) Rescuers searched for survivors through the night after Tuesday’s powerful earthquake sway Mexico City and surrounding governments, killing ratings and leaving many trapped under collapsed buildings.

At least 216 people died in Mexico City — the country’s capital — and in the states of Puebla, Mexico and Morelos, officials said. Previously, authorities had said that as many as 248 people had died. The death toll was later revised.

The epicenter of the 7.1 -magnitude earthquake was 2.8 miles( 4.5 kilometers) east-northeast of San Juan Raboso and 34.1 miles( 55 km) south-southwest of the city of Puebla, in Puebla state, according to the US Geological Survey.

Violent earthquake boulders Mexico

Sep 19, 2017 at 11:23 am PDT

Sep 19, 2017 at 3:20 pm PDT