During the Bear Flag Revolt, from June to July 1846, a small group of American settlers in California rebelled against the Mexican government and proclaimed California an independent republic. By noon of June 17, the rebels raised the new California Bear Flag, proclaiming the Mexican province to be the California Republic. William B. Ide had been chosen to serve as commander. The republic was short-lived because soon after the Bear Flag was raised, the U.S. military began occupying California, which went on to join the union in 1850. The Bear Flag became the official state flag in 1911.

More Info: www.history.com