 The Convention unanimously voted to outlaw slavery and set up an interim government which operated for 10 months before California was given official statehood by Congress on September 9, 1850 as part of the Compromise of 1850.The state constitution first adopted in 1849, before statehood, remained the operational constitution following statehood, until it was superseded in 1879, after a new constitutional convention adopted a new state constitution.Both the original constitution and the 1879 constitution provided for the election of a governor, and set up a bicameral state legislature; the state Assembly was the larger house, with districts based on population, and the State Senate, the smaller house, with districts which followed existing political boundaries (analogous to the structure of the United States House of Representatives and the Senate).