When did the state of California became part of the US?

It became the 31st US State in 1850.