NEW YORK (CBSNewYork) – A man is in custody after the Long Island Rail Road says he trespassed on the tracks near Penn Station, disrupting the morning commute.

At least six trains were affected by the trespasser, who was in the tunnel near Penn Station. That resulted in four trains terminating in Jamaica, Queens and two others being diverted to Hunters Point.

At one point trains were delayed up to an hour due to the trespasser.