The temblor was one of the strongest the area had experienced in decades, an official said.