The California Republic, also called the Bear Flag Republic, was a government proclaimed by settlers from the United States on June 14, 1846, in Sonoma in the then Mexican province of California. Declared during the Mexican-American War, the republic lasted less than a month.