Merced /mərˈsɛd/ is a city in, and the county seat of, Merced County in the San Joaquin Valley of Central California. As of 2014, the city had a population of 81,743. Incorporated on April 1, 1889, Merced is a charter city that operates under a council-manager government. It is named after the Merced River, which flows nearby.Merced, known as the "Gateway to Yosemite", is less than two hours by automobile from Yosemite National Park to the east and Monterey Bay, the Pacific Ocean, and several beaches to the west. The community is served by the passenger rail service Amtrak, a minor, heavily subsidized airline through Merced Regional Airport, and three bus lines. It is approximately 110 miles from Sacramento, 130 miles from San Francisco, 45 miles from Fresno, and 270 miles from Los Angeles.In 2005, the city became home to the tenth University of California campus, University of California, Merced, the first research university built in the U.S. in the 21st century.