A teenager has died after being hit by a train in an incident last week.
Emergency services were called to the level crossing near Albion Street, Castleford, at around 6pm on Wednesday, August 20, after the 17-year-old boy was run down.
He was airlifted to hospital and remained alive for several days.
But a British Transport Police (BTP) spokesman confirmed the boy died from his injuries on bank holiday Monday.
He added: “Our officers were called to a level crossing near Castleford shortly before 6pm on Wednesday, August 20, after reports a person had been hit by a train.
“Colleagues from West Yorkshire Police and Yorkshire Ambulance Service also attended.”
The boy’s name has not been released, but an inquest will open shortly.
The BTP spokesman added: “The incident is not currently being treated as suspicious.”
Figures showed that a record number of people died on the UK’s railways last year.
In all, 300 members of the public were killed, either by taking their own lives or from accessing parts that they were not supposed to.
That is 22 more than the year before and the highest number recorded so far by the Rail Safety and Standards Board (RSSB) in its 10 years of records.