Fresno ( /ˈfrɛznoʊ/ FREZ-noh) is a city in central California, United States, the county seat of Fresno County. As of 2012 , the city's population was 510,365, making it the fifth largest city in California, the largest inland city in California and the 34th largest in the nation. Fresno is located in the center of the San Joaquin Valley of Central California, approximately 200 miles (322 km) north of Los Angeles, and 170 miles (274 km) south of the state capital, Sacramento. Metropolitan Fresno has a population of 1,107,416. The name Fresno is the Spanish language word for the ash tree, and an ash leaf is featured on the city's flag.