Earthquakes and fires leveled much of San Francisco in 1906, requiring the city to rebuild its infrastructure from scratch. This devastation prompted a massive shift in building codes across the United States, establishing stricter seismic safety standards that saved countless lives in future quakes.