Which state was once known as the Bear Flag Republic?

Which state was once known as the Bear Flag Republic?