A 30-year-old man was struck and killed Saturday morning by a westbound Long Island Rail Road train, a LIRR spokeswoman said.
The man, whose identity has not been released, was apparently trespassing, sitting along the tracks with a 23-year-old companion and drinking alcohol, said Marjorie Anders of the Metropolitan Transportation Authority.
Two trains were halted, one westbound and one eastbound.
Third rail power was turned off during the investigation, and buses were ordered for the passengers on the two trains held.
Buses were ordered to shuttle those passengers delayed by the investigation between Farmingdale -- while making local stops -- and Ronkonkoma, where they were able to resume train service.
Regular train service was resumed by about 4 a.m.
The name of the victim was being held pending notification of his family.