An earthquake is the sudden release of energy in the Earth's crust that creates seismic waves. Earthquakes can cause serious damage depending on their magnitude and depth. The largest earthquakes in history have been magnitude 9 or above. Minor earthquakes occur constantly around the world, while major earthquakes happen less frequently in an exponential relationship. Most earthquakes occur in the Pacific Ring of Fire. The main effects of earthquakes are shaking, ground rupture, landslides, fires from damaged infrastructure, and tsunamis from large offshore quakes. The 1906 San Francisco earthquake and 2011 Japanese earthquake and tsunami were particularly destructive events.