Treaty of Guadalupe Hidalgo
Hastings's dream of empire soon collapsed when California was conquered by the United States military during the Mexican–American War. In 1848, Mexico ceded California to the United States under the Treaty of Guadalupe Hidalgo.