Donald Trump responded quickly after a 7.1 magnitude earthquake hit Mexico City, expressing support for the people there dealing with the deadly aftermath of the tremors.

"God bless the people of Mexico City," Mr Trump wrote in a tweet. "We are with you and will be there for you."

Images and videos show buildings in rubble, smashed cars, and people hurrying in Mexico City to try and save lives after the earthquake, which originated about 40 miles southeast of the Mexican capital in Puebla. At least five deaths have been reported by local media, while officials in the area have said they are unsure how many people might be trapped inside collapsed buildings in Mexico City. Some buildings in the city have been spotted on fire.

As the earthquake hit, pictures fell down from walls, and objects were shaken from flat surfaces. Facades were seen falling off of 10 story buildings, and one video showed a group of volunteers rushing to move large metal beams near what one onlooker said was a school.

Mexico City earthquake in pictures Show all 13 1 /13 Mexico City earthquake in pictures Mexico City earthquake in pictures A handout picture provided by the citizen Edgar Cabalceta shows a general view of Mexico City following a magnitude 7.1 earthquake, in Mexico City, Mexico EPA Mexico City earthquake in pictures Rescuers and residents look for victims amid the ruins of a building knocked down by a magnitude 7.1 earthquake that jolted central Mexico damaging buildings, knocking out power and causing alarm throughout the capital on September 19, 2017 in Mexico City, Mexico. The earthquake comes 32 years after a magnitude-8.0 earthquake hit on September 19, 1985 Getty Images Mexico City earthquake in pictures A police officer stands guard near a building which collapsed after a quake rattled Mexico City RONALDO SCHEMIDT/AFP/Getty Images Mexico City earthquake in pictures Rescuers, firefighters, policemen, soldiers and volunteers remove rubble and debris from a flattened building in search of survivors after a powerful quake in Mexico City AFP/Getty Images Mexico City earthquake in pictures Rescuers and residents look for victims amid the ruins of a building knocked down by a magnitude 7.1 earthquake that jolted central Mexico damaging buildings, knocking out power and causing alarm throughout the capital on September 19, 2017 in Mexico City Getty Images Mexico City earthquake in pictures People try to rescue survivors from a collapsed buildings after a magnitude 7.1 earthquake on the Richter scale in Mexico City, Mexico, 19 September 2017. At least 79 people lost their lives in the states of Morelos, Puebla and Mexico by the earthquake of magnitude 7.1 on the Richter scale. EPA Mexico City earthquake in pictures People clear rubble after an earthquake hit Mexico City, Mexico REUTERS Mexico City earthquake in pictures People clear rubble after an earthquake hit Mexico City, Mexico REUTERS Mexico City earthquake in pictures Rescuers and residents assists an injured victim amid the ruins of a building knocked down by a magnitude 7.1 earthquake that jolted central Mexico damaging buildings, knocking out power and causing alarm throughout the capital on September 19, 2017 in Mexico City, Mexico. The earthquake comes 32 years after a magnitude-8.0 earthquake hit on September 19, 1985. Getty Images Mexico City earthquake in pictures People remove debris outside a collapsed building after an earthquake in Mexico City, Mexico REUTERS Mexico City earthquake in pictures People remove debris as they search for possible victims after a quake rattled Mexico City on September 19, 2017. A powerful earthquake shook Mexico City on Tuesday, causing panic among the megalopolis' 20 million inhabitants on the 32nd anniversary of a devastating 1985 quake. The US Geological Survey put the quake's magnitude at 7.1 while Mexico's Seismological Institute said it measured 6.8 on its scale. The institute said the quake's epicenter was seven kilometers west of Chiautla de Tapia, in the neighboring state of Puebla. AFP/Getty Images Mexico City earthquake in pictures A security guard walks over debris of a building which collapsed during a quake in Mexico City AFP/Getty Mexico City earthquake in pictures Reconstruction work in the towns affected by the telic movement has begun. Several temples suffered severe damage. Rex

The earthquake is the second major tremor to hit Mexico this year. Earlier in the month, an 8.1 magnitude earthquake hit of the southwestern coast of the country, primarily impacting the regions of Oaxaca and Chipas. The tremors reached as far as Mexico City and Guatemala City. At least 98 people were killed by that earthquake.