Amtrak provides rail service through the San Joaquin Valley by way of the San Joaquin service, between Bakersfield, Stockton and either Sacramento or Oakland (Amtrak service does not continue south of Bakersfield, as the Union Pacific Railroad does not currently allow the San Joaquin trains to run on the highly congested rail route over Tehachapi Pass, which is the only route between Bakersfield and Los Angeles, so passengers heading south of Bakersfield must take the bus connection to their final destinations). The Coast Starlight, on extremely rare circumstances, passes through the San Joaquin Valley when detours are required due to trackwork on its normal trackage, but does not make any stops.