Folsom is named for Joseph Libbey Folsom who purchased Rancho Rio de los Americanos from the heirs of San Francisco merchant William Alexander Leidesdorff, and laid out the town called Granite City, mostly occupied by gold miners seeking their fortune in the Sierra Nevada foothills. Though few amassed a great deal of wealth, the city prospered due to Joseph Folsom's lobbying to get a railway to connect the town with Sacramento. Joseph died in 1855, and Granite City was later renamed Folsom in his honor. The railway was abandoned in the 1980s but opened up as the terminus of the Gold Line of Sacramento Regional Transit District's light rail service in 2005. A few former gold-rush era towns are located within the city limits of Folsom, including Prairie City, Salmon Falls, and Mormon Island (though these towns no longer exist).