Work on rail lines, tunnels and bridges this summer will count direct train service between New York and Chicago as a temporary casualty, according to Amtrak.

The US national passenger railroad corporation will spend about $50 million in summer 2018 in repair work at New York’s Penn Station and the rail lines that access the island of Manhattan.

Work on the Empire Tunnel and the Spuyten Duyvil Bridge will temporarily curtail the Lake Shore Limited service between New York and Chicago. Between May 26 and September 4, the train will operate only between Chicago and Boston; New York passengers will have to travel to Albany to connect with Chicago-bound trains.

The bridge and tunnel work will also result in the rerouting of the Empire Service, Ethan Allen Express, Adirondack, and Maple Leaf trains — serving upstate New York, Vermont, Montreal, and Toronto, respectively  — from Penn Station to Grand Central Terminal.

Amtrak will also continue to work on Track 19 at Penn Station and maintain a modified schedule through at least July 20 on its Northeast Corridor and Keystone trains as a result.

The work includes replacing track in the Empire Tunnel and upgrading equipment on the Hudson-crossing Spuyten Duyvil Bridge damaged by Hurricane Sandy.