The Treaty of Guadalupe Hidalgo ceded California to the United States in 1848.
California changed hands when Mexico and the United States last fought. This land, along with other territories, was ceded to the United States as part of the Treaty of Guadalupe Hidalgo that ended the Mexican-American War in 1848. The United States gained significant land from Mexico through this treaty, expanding its territorial holdings.
https://brainly.com/question/31031950