For how long was the state of California an independent country?

After a revolt on July 4, 1846, led by John C. Fremont against Mexico during the Mexican War, California was declared an independent country for a few days.

During its brief independence, California flew the flag of a bear.

The California grizzly bear is now the state animal.