The First Transcontinental Railroad was completed to Oakland from the south in 1869. Following the completion of the California Pacific Railroad in 1879, most long-distance service of the Southern Pacific (SP) reached Oakland from the north. Long-distance service from the south ran to San Francisco via the Peninsula; some trains had Oakland sections. The Western Pacific Railroad (completed to Oakland in 1910) and Santa Fe Railroad (completed to Oakland in 1903 over the former California and Nevada Railroad) largely ran long-distance service with limited local stops. Commuter service around Oakland was largely provided by the electric interurban trains of the SP-owned East Bay Electric Lines (1911–1941) and Key System (1901-1958).