MEXICO CITY (AP) _ A moderate earthquake rocked Mexico's Pacific coast on Tuesday, causing buildings to sway as far away as Mexico City and frightening residents.

No damage or injuries were immediately reported.

Mexico's National Seismological Service said the quake had a preliminary magnitude of 5.3 and was centered off the Pacific coast near the resort city of Acapulco.

The earthquake was the third to rock the country in two days.

Two quakes _ the first of 5.4 magnitude, the second of 4.4 magnitude _ rattled Acapulco early Monday, but there were no reported injuries or damages.