The California Republic (in Spanish "República de California"), also Bear Flag Republic or Bear Republic, refers to a period of revolt by American settlers in the Mexican territory of Alta California against Mexico. Revolt was initially proclaimed in Sonoma on June 14, 1846, before news of the outbreak of the Mexican–American War had reached the area. Although participants declared independence from Mexico, they failed to form a functional provisional government. Thus, the "republic" never exercised any real authority, and it was never recognized by any nation. In fact, most of Alta California knew nothing about it. The revolt lasted 26 days, at the end of which the U.S. Army arrived to occupy the area. Once the leaders of the revolt knew the United States was claiming the area, they disbanded their "republic" and supported the U.S. federal effort to annex Alta California.