The U.S. Geological Survey says the quake struck shortly after 6:35 p.m.