A magnitude-5.4 earthquake rocked the coast of Guerrero, a state in southern Mexico, but no injuries or damage were reported, the National Seismology Service said.
The earthquake occurred at 9:20 p.m. Saturday in the Pacific Ocean about 39 kilometers (24 miles) southwest of the city of Zihuatanejo, with the epicenter located at a depth of 10 kilometers (6.2 miles).
The temblor was preceded by magnitude-5 and magnitude-4.4 quakes, both of which were in the Pacific about 40 kilometers (25 miles) and 25 kilometers (15 miles), respectively, from Zihuatanejo, the National Seismology Service said.
The most powerful of the three earthquakes was felt briefly in Mexico City, where buildings swayed but no injuries or damage were reported, officials said.
The disaster management plan was activated so officials could inspect for damage after the earthquakes, Guerrero Gov. Angel Aguirre said in a Twitter post.