Rail services were halted after a person was hit and killed by a train on the line at Dewsbury on Saturday.
British Transport Police has not yet confirmed the identity of the victim.
A spokesman for Network Rail confirmed someone had been struck by a train at 2pm close to Dewsbury station.
On Saturday afternoon, police and Network Rail officials could be seen walking on the tracks for several hours where the line crosses over Webster Hill, close to Mr Sparkles car wash.
Witnesses to the incident reported seeing a body being carried from the tracks in a white bag.
The line, part of the busy Transpennine route, serves both Leeds and Manchester.
The incident caused delays until 6pm with some services re-routed.
Extra buses were laid on between Dewsbury and Huddersfield.
The incident comes less than two weeks after a 78-year-old man was found dead on the tracks close to Dewsbury station.
The circumstances of his death on New Year’s Eve have not yet been revealed.
Police also dealt with a 39-year-old woman who was killed after being hit by a train at Hipperholme, in between Christmas and New Year.