The earthquake had a magnitude of 8. What was the magnitude of the earthquake?