Two rail employees jumped from a runaway train which travelled for four miles after hitting a tree, accident detectives stated.

The 40mph accident near Markinch terminal, Fife disabled the maintenance train’s brakes, inning accordance with a preliminary record by the Rail Accident Investigation Branch (RAIB).

The train, on the Dundee line, came to a rest after reaching an uphill area of track, yet after that rolled in reverse.

After making an emergency get in touch with the train radio, the staff jumped onto the trackside, enduring minor injuries.

The train at some point stopped at a nadir near Thornton North Junction after rolling forwards and also in reverse numerous times.

It was being made use of to clear fallen leaves from the track with water jets at around 4.25 am on October 17.

The driver saw the tree shortly before impact and also applied the emergency brake.

Damage to the underside of the train triggered the brakes to be “irreversibly released”, the RAIB stated.

A full examination by the RAIB will take into consideration the style of the train’s braking system, the activities of the staff and the distance of other trains on the influenced course.