The first truly transcontinental railroad was through Stockton, over Altamont Pass and thence via Niles Canyon to the San Francisco Bay Area, a distance of . That line was constructed by Leland Stanford's Central Pacific Railroad subsidiary the Western Pacific Railroad (of 1862). The route over Altamont Pass was completed in 1869. (This railroad is unrelated to the Western Pacific Railroad (of 1916) that ran to Salt Lake City via the Feather River Canyon.)