A man has died and woman has suffered serious injuries after a train driver reported hitting two people on the track.
The man and woman were taken to hospital following the crash
The incident happened at Wyke Tunnel, Station Road, Bradford, on Thursday evening, British Transport Police said.
The man and woman, who are thought to be in their early 20s, were taken to Bradford Royal Infirmary.
Northern Rail said the line between Bradford and Halifax was closed and a replacement bus service was in place.
The train involved was the 1544 BST Selby to Wakefield Westgate service, which had left Bradford Interchange.
A British Transport Police spokesman said: "A male and female, aged approximately 21 years, were taken to hospital by ambulance for treatment, having received serious injuries.
"As a result of those injuries, one male has since died."
A Northern Rail spokeswoman said services from Bradford Forster Square station were unaffected.