The quake struck shortly after 7 a.m. local time and was clearly felt in both cities, reporters on site reported.