GUATEMALA CITY -- A 6.5-magnitude earthquake shook Guatemala's Pacific coastline on Sunday, just four days after a major quake killed dozens and left thousands without homes in the region.

People fled buildings and homes in panic in cities along Guatemala's coast near its border with Mexico on Sunday, but there were no immediate reports of deaths or major damage. Locals were further panicked by four aftershocks with magnitudes ranging from 4.5 to 5.0.

Eddy Sanchez, director of Guatemala's National Institute of Seismology, Vulcanology and Hydrology, urged residents to avoid returning to buildings and homes with structural damage from the last quake.

The U.S. Geological Survey said the quake's epicenter was 19 miles (30 kilometers) west-southwest of Champerico, Guatemala, and 185 kilometers (115 miles) southwest of Guatemala City. It had a depth of 27 kilometers (17 miles) and was centered off the country's coast.

Seismologists say it was the strongest aftershock yet from a 7.4-magnitude earthquake that killed 52 people in western Guatemala on Wednesday.

That quake, the country's strongest in 36 years, left thousands of people without homes, electricity or water; and emotionally devastated one small town by wiping out almost an entire family.

It was felt as far as Mexico City. It affected as many as 1.2 million Guatemalans and was followed by 70 aftershocks in the first 24 hours.

Guatemalan President Otto Perez Molina had deployed more than 2,000 soldiers to the region to help with the disaster. The U.S. State Department said it was sending some $50,000 in immediate disaster relief, including clean water, fuel and blankets.

Related on HuffPost:

Loading Slideshow...
  • A decorated human skull or Natita is carried out of the Cementerio General’s chapel and to the Natitas Festival at the largest cemetery in La Paz, Bolivia, Thursday, Nov. 8, 2012. (AP Photo/Juan Karita)

  • In this Thursday, Oct. 18, 2012, photo, Kate Heart, 19, a Pakistani transgender, applies makeup before heading to a wedding party where she will perform, in Rawalpindi, Pakistan. (AP Photo/Anjum Naveed)

  • Supporters cheer at the end of President Barack Obama remarks during an election night party, early Wednesday, Nov. 7, 2012, in Chicago. Obama defeated Republican challenger former Massachusetts Gov. Mitt Romney. (AP Photo/Matt Rourke)

  • An New York Police Department van drives along a street soaked with rain and covered with debris in a Rockaway neighborhood of the borough of Queens, New York, Wednesday, Nov. 7, 2012, as a nor'easter aggravates already bad conditions in the wake of Superstorm Sandy. (AP Photo/Craig Ruttle)

  • Naked volunteers perfom for US photographer and artist Spencer Tunick (out of frame) at Los Senderos Villages in San Miguel de Allende municipality, Guanajuato State, Mexico on November 4, 2012. (ALFREDO ESTRELLA/AFP/Getty Images)

  • A homeless boy cleans his teeth with coal in the morning in Jammu, India, Thursday, Nov. 8, 2012. (AP Photo/Channi Anand)

  • A naked woman crosses Atlantica Avenue in front of an elementary school at Copacabana beach in Rio de Janeiro, Brazil, on November 9, 2012. (CHRISTOPHE SIMON/AFP/Getty Images)

  • Newly graduated Afghan police officers demonstrate their skills during a graduation ceremony at a National Police training center in Laghman province, east of Kabul, Afghanistan, Wednesday, Nov. 7, 2012. (AP Photo/Rahmat Gul)

  • A toy parachute is shot in the air to attract people at sunset on Juhu Chowpatty beach in Mumbai, India, Sunday, Nov. 4, 2012. (AP Photo/Rajesh Kumar Singh)

  • Prince Charles, Prince of Wales stands at the rear of the London Poppy Day red bus as he meets London Poppy Day ambassadors and collectors at St. James's Palace on November 02, 2012 in London, England. (Photo by Indigo/Getty Images)