Port Authority trolleys are slowly running back on schedule after a malfunction caused rush-hour delays this morning.

The problem was with a switch at the Allegheny Station stop on the North Side and the issue has since been repaired, Port Authority spokesman Jim Ritchie said.

The issue was causing delays -- reportedly up to 15 minutes -- during the morning commute. The delays affected both the Red and Blue lines.

Allegheny Station, which is near Heinz Field, is the end of the line. Light-rail transit cars there stop at a dead end while the driver switches from one end of the vehicle to the other, so formerly outbound trolleys can then be driven inbound.

The Port Authority expects rail service to be on schedule for the afternoon rush hour.