Nicaraguan President Daniel Ortega declared a state of emergency as the country is also facing Category 2 Hurricane Otto, which made landfall about an hour before the quake. The U.S. National Hurricane Center said the unusually strong late-season hurricane hit land just north of the Costa Rican border near the town of San Juan de Nicaragua. The center called Otto dangerous in part because of the heavy rains and storm surge it carries. The center said Otto will continue to move across southern Nicaragua and northern Costa Rica and is expected to weaken to a tropical storm by Thursday night. Nicaragua closed schools and was evacuating more than 10,000 people from communities in the storm's path. Heavy rains were expected to affect the entire country, raising the possibility of flooding and landslides.