 The Southern Pacific Railroad (SP) leased the CPRR in 1885.On June 7, 1891, the SP opened its San Ramon Branch from Avon (just east of Martinez) to San Ramon; it was later extended to Pleasanton.The Atchison, Topeka and Santa Fe Railway opened a line through the south part of Martinez in 1899, with a station at John Strentzel's fruit ranch.