 Thirty-eight days later the Pacific Mail Steamship "SS Oregon" brought word to San Francisco on October 18, 1850, that California was now the 31st state.There was a celebration that lasted for weeks.The state capital was variously at San Jose (1850–1851), Vallejo (1852–1853), and Benicia (1853–1854) until Sacramento was finally selected in 1854.