The concept of Manifest Destiny—the belief that the U.S. was destined to span the continent—drove the annexation of Mexican territories. After the Mexican‑American War (1846–48), the Treaty of Guadalupe Hidalgo ceded California to the U.S. The 1848 gold discovery triggered a massive population surge, creating instant economic and political weight. By 1850, California was admitted as the 31st state—bypassing the usual territorial stage.