 The Pueblo de San Jose was chosen as the first state capitol (Article XI Sec.1).Soon after the election they set up a provisional state government that set up the counties, elected a governor, senators, and representatives, and operated for ten months setting up a state government before California was given official statehood by Congress on September 9, 1850, as part of the Compromise of 1850.