San Bernardino ( SAN BUR-nə-DEE-noh) is a city in and the county seat of San Bernardino County, California, United States. Located in the Inland Empire region of Southern California, the city had a population of 222,101 in the 2020 census, making it the 18th-largest city in California. San Bernardino is the economic, cultural, and political hub of the San Bernardino Valley and the Inland Empire. The governments of El Salvador, Guatemala, and Mexico have established the metropolitan area's only consulates in the downtown area of the city. Additionally, San Bernardino serves as an anchor city to the 3rd largest metropolitan area in California (after Los Angeles and San Francisco) and the 12th largest metropolitan area in the United States; the San Bernardino-Riverside MSA. Furthermore, the city's University District serves as a college town, as home to California State University, San Bernardino. San Bernardino was named in 1810, when Spanish priest Francisco Dumetz led an expedition through the area. In 1839, the Mexican government granted Californio ranchero José del Carmen Lugo the right to settle the area, which was formalized when he was granted Rancho San Bernardino in 1842. Following the American Conquest of California, the community on the rancho incorporated as a city in 1854. The city grew significantly in the late 19th century as a commercial hub at the crossroads between Southern California and the American Southwest. Today, San Bernardino is an important hub for the Inland Empire and Southern California.