After 1879, the transcontinental trains no longer used the Altamont Pass Niles Canyon route, taking a shorter route from Sacramento via Benicia to reach Oakland Pier instead, but trains to Los Angeles continued to use the former SF&O and Western Pacific routes to reach San Jose.