




Located on the West Coast of the United States, along the Pacific Ocean. It is bordered by Oregon to the north, Nevada to the east, and Arizona to the southeast, as well as by Baja California in Mexico to the south. The most populous U.S. state, California's capital city is Sacramento, and its four largest cities are Los Angeles, San Diego, San Jose, and San Francisco. California is known for its varied climate and geography, as well as for its ethnically diverse population. The state is divided into 58 counties.
Before becoming a part of the United States, Alta California was colonized by the Spanish Empire, beginning in 1769. Alta California became a part of the newly independent nation of Mexico in 1821, and remained so until 1846. That year, an independent California Republic was declared. The Republic's first and only president was William B. Ide,[3] who played a pivotal role during the Bear Flag Revolt. His term lasted twenty-five days and concluded when California was occupied by U.S. forces during the Mexican-American War. Under the Treaty of Guadalupe Hidalgo of 1848, Mexico formally ceded California to the United States. California was admitted to the Union as the 31st state on September 9, 1850.