In 1876, however, the CPRR acquired a line built by the California Pacific Railroad from Sacramento to Vallejo and in 1879 completed an extension of that road 17 miles across the Suisun Marsh to Benicia.