Trivia Question

In what year was Sacramento made capital of California?