Modesto is a city in, and is the county seat of, Stanislaus County, California. With a population of approximately 201,165 at the 2010 census, Modesto ranks as the 18th largest city in the state of California. Modesto is located in the central valley area of Northern California, 90 miles north of Fresno, 92 miles east of San Francisco, 68 miles south of the state capital of Sacramento, 66 miles west of Yosemite National Park, and 24 miles south of Stockton. Modesto, a 29-time Tree City USA honoree, is surrounded by rich farmland, lending to a ranking for the county as 6th among all California counties in farm production. Led by milk, almonds, chickens, cattle, and walnuts, the county grossed nearly $2.5 billion in agricultural production in 2007. Modesto was immortalized in the 1973 George Lucas film American Graffiti.