Kern Bakersfield is a city near the southern end of the San Joaquin Valley in Kern County, California. It is roughly equidistant between Fresno and Los Angeles, which are 110 miles (180km) to the north and south respectively. In the 2010 census, the citys population was 347,483, making it the 9th largest city in California and the 52nd largest city in the United States. The city is also the county seat for Kern County, which encompasses the entire MSA and is the third largest county in California by area. The total Bakersfield inner urban area which includes East Bakersfield and Rosedale has a population of approximately 464,000 Bakersfield is the focal point of the larger Bakersfield-Delano, CA MSA Metropolitan Statistical Area (MSA), which is coextensive with Kern County. In 2010, it had a population of 839,631, making it the 62nd largest metropolitan area in United States. Bakersfield has a very diverse economy. Kern County is the most productive oil producing county, and the fourth most productive agricultural county (by value) in the United States. Other industries include natural gas and other energy extraction, aerospace, mining, petroleum refining, manufacturing, distribution, food processing, and corporate/regional headquarters.