On January 24, 1848, James Marshall discovered gold at Sutter's sawmill in Coloma, California. Within two years, the gold rush transformed California into a populous state virtually overnight. As the population grew, California transitioned from military rule to establishing a civilian government. During the 20th century, California became an important center for the U.S. military, especially the Navy and aviation industries. California universities also contributed to technological advancements in fields like engineering, radio, and aviation that shaped the state's identity and economy.