The position was created in 1849 , the year before California became a state .
The office of Governor of California was created in 1849 , before California became a state .