The California State Legislature, with the support of Governor John Bigler, moved to Sacramento in 1854. The capital of California under Spanish (and, subsequently, Mexican) rule had been Monterey, where in 1849 the first Constitutional Convention and state elections were held. The convention decided that San Jose would be the new state 's capital. After 1850, when California 's statehood was ratified, the legislature met in San Jose until 1851, Vallejo in 1852, and Benicia in 1853, before moving to Sacramento. In the Sacramento Constitutional Convention of 1879, Sacramento was named to be the permanent state capital.
when did sacramento became the capital of california
1879