San Francisco and Oakland Railroad
The San Francisco and Oakland Railroad (SF&O) was built in 1862 to provide ferry-train service from a San Francisco ferry terminal connecting with railroad service through Oakland to San Antonio. In 1868 Central Pacific Railroad decided that Oakland would be the west coast terminus of the First transcontinental railroad and bought SF&O. Beginning November 8, 1869, part of the SF&O line served as the westernmost portion of the transcontinental railroad, which was absorbed into the Southern Pacific Railroad (SP) in 1885.
Source: Wikipedia — San Francisco and Oakland Railroad (CC BY-SA 4.0)