The U.S. Geological Survey said the 8:54 a.m. (1254 GMT) quake hit 8 miles (13 kilometers) southeast of Guanica at a shallow depth of 3 miles (5 kilometers). It was followed by several aftershocks, including a magnitude 5.2 temblor less than two minutes later.