Which state was once known as the Bear Flag Republic?

History Trivia: Which state was once known as the Bear Flag Republic?