California was admitted to the Union in 1850.