California's path to statehood was a winding affair, stretching decades of political discussion. First, California was a possession under Mexican rule, but the arrival of American settlers in the mid-1800s century shifted the social landscape. After the Mexican-American War, California was ceded to the United States in 1850. The discovery of gold