California is a state in the Pacific Region of the United States. With 39.6 million residents, California is the most populous U.S. state and the third-largest by area. The state capital is Sacramento. The GreaterLos Angeles Area and the San Francisco Bay Area are the nation's second- and fifth-most populous urban regions, with 18.7 million and 9.7 million residents respectively. Los Angeles is California's most populous city, and the country's second-most populous, after New York City.
After Daniel and Lucille move there from New Jersey, California, (particularly Los Angeles) becomes the main setting of the first three Karate Kid films (particularly in The Karate Kid and The Karate Kid Part III), and the main setting of the web TV series Cobra Kai.
In addition to having the second-largest city, California also has the nation's most populous county, Los Angeles County, and its largest county by area, San Bernardino County. The City and County of San Francisco is both the country's second-most densely populated major city after New York City and the fifth-most densely populated county, behind only four of the five New York City boroughs.
California's $3.0 trillion economy is larger than that of any other state, larger than those of Texas and Florida combined, and the largest sub-national economy in the world. If it were a country, California would be the fifth-largest economy in the world (larger than the United Kingdom, France, or India), and the 36th-most populous as of 2017. The Greater Los Angeles Area and the San Francisco Bay Area are the nation's second- and third-largest urban economies ($1.253 trillion and $907 billion respectively as of 2017), after the New York metropolitan area. The San Francisco Bay Area PSA had the nation's highest GDP per capita in 2017 (~$94,000) among large PSAs, and is home to three of the world's ten largest companies by market capitalization and four of the world's ten richest people.
California is considered a global trendsetter in popular culture, innovation, environmentalism and politics. It is considered the origin of the American film industry, the hippie counterculture, fast food, the Internet, and the personal computer, among others. The San Francisco Bay Area and the Greater Los Angeles Area are widely seen as global centers of the technology and entertainment industries, respectively. California has a very diverse economy: 58% of the state's economy is centered on finance, government, real estate services, technology, and professional, scientific and technical business services. Although it accounts for only 1.5% of the state's economy, California's agriculture industry has the highest output of any U.S. state.
California is bordered by Oregon to the north, Nevada and Arizona to the east, and the Mexican state of Baja California to the south (with the coast being on the west). The state's diverse geography ranges from the Pacific Coast in the west to the Sierra Nevada mountain range in the east, and from the redwood–Douglas fir forests in the northwest to the Mojave Desert in the southeast. The Central Valley, a major agricultural area, dominates the state's center. Although California is well known for its warm Mediterranean climate, the large size of the state results in climates that vary from moist temperate rainforest in the north to arid desert in the interior, as well as snowy alpine in the mountains. Over time, drought and wildfires have become more pervasive features.
What is now California was first settled by various Native Californian tribes before being explored by a number of European expeditions during the 16th and 17th centuries. The Spanish Empire then claimed it as part of Alta California, within its New Spain colony. The area became a part of Mexico in 1821 following its successful war for independence but was ceded to the United States in 1848 after the Mexican–American War. The western portion of Alta California was then organized and admitted as the 31st state on September 9, 1850. The California Gold Rush starting in 1848 led to dramatic social and demographic changes, with large-scale emigration from the east and abroad with an accompanying economic boom.