CCTV cameras have caught footage of a school boy running across train lines.
The boy was filmed with the onboard camera in the driver's cab as he scrambled off the track seconds before the train would have hit him. The driver had spotted him, and frantically tried to apply the brakes.
The practice of playing chicken is incredibly dangerous, and Network Rail revealed that 49 people have died trespassing on tracks between April 2009 and March 2010.
The incident isn't the first dangerous one to be caught on CCTV. Another boy was seen climbing on 25,000 volt overhead electric power lines in Sunderland. Luckily for him, they were switched off at the time.
Other situations include a gang who tried to 'train surf' (grabbing the back of a train ) and another gang throwing a shopping trolley into the path of a train.
Children are often behind the various incidents of trespass and vandalism. It's believed that 3,400 incidents occur during the same period, which works out as around 10 a day.
Of these, 1,162 incidents involved stone throwing, 60 of children playing chicken and 83 of graffiti. 180 bikes were chucked onto the railway lines, along with 76 shopping trolleys, 55 traffic cone, seven prams, five dustbins, three televisions, a bouncy castle and four trampolines.
Network Rail's 'No Messin' campaign kicked off again yesterday, starting it's fifth year or raising awareness of the danger near railways.
Click below to see shocking videos: