Question: how did the u.s. get california?
Answer: The state of California was acquired by the United States as part of the Mexican Cession – the land ceded by Mexico to the US in 1848, at the end of the Mexican-American War. The treaty of Guadalupe Hidalgo ended the war, and gave territory to the US.