Two vandals who admitted deliberately placing objects on the railway line at Tamworth, almost causing a train travelling at 95mph to derail, have been jailed for a total of eight-and-a-half years.

Richard Hamilton, aged 21, and Ashley Leedham, 18, both from Kingsbury, Tamworth, pleaded guilty to malicious obstruction of the railway with intent to endanger safety when they appeared at Warwick Crown Court in June.

At the same court today, Hamilton was jailed for four-and-a-half years and Leedham for four years.

The incident happened at around 11.30pm on March 18 when the Birmingham to Nottingham service struck concrete blocks and other debris that had been piled 4ft high on the line, near Cadogan Road, Dosthill, south of Wilnecote rail station.

The driver managed to bring the train to a halt after hitting the objects, which included concrete posts, wooden pallets and bags of cement. No one was injured but the driver was left extremely shaken and said he thought he was about to die.

British Transport Police said it could have led to serious injury or even the deaths of passengers or train crew.

The train, which was travelling at around 95mph at the time of impact and had about 50 passengers on board, suffered severe damage and had to be taken out of service.

Speaking to police afterwards, the driver of the train, who has not been named, described how he felt the train lift from the tracks after impact.

He said: “I thought my time was up. I thought the train had come off the rails as it was juddering violently. I then remember seeing a road bridge going over the railway lines and I remember shouting to myself ‘Oh no’.

“I thought the train was going to hit the bridge and that I was going to die.

“Images of my children, my family and people close to me flashed before me and I thought I would never see them again."

The train did not derail and eventually came to a halt just under half a mile from the point of impact.

BTP officers and emergency railway personnel attended the scene and found that objects including concrete posts, wooden pallets and bags of post-mixed concrete and cement had been placed across the railway lines. These materials had been left in the area by railway contractors in preparation for maintenance work that was scheduled to take place in the Winecote area.

Rail staff who cleared the debris from the line after the incident estimated that around 30 concrete posts, each weighing 20kg, more than a dozen bags of cement and two wooden pallets had been used by Hamilton and Leedham to build the obstruction.

When interviewed by police, Hamilton and Leedham both initially denied any involvement and claimed to be elsewhere at the time of the incident. However, both gave differing accounts of where they had been and what they had been doing on that evening.

After being shown CCTV images and when further evidence was put to them, both changed their stories and admitted playing a part in causing the obstruction, although each played down his involvement and accused the other of instigating event and taking the lead role.

Chief Inspector Allan Gregory, of British Transport Police, said: “It is a matter of sheer luck that no-one was seriously injured in this incident.

“The reality is that we could have been left dealing with mass casualties or even, in a worst case scenario, fatalities."

Network Rail route director, Jo Kaye, said: "This was a ludicrous thing to do and could easily have resulted in passengers or the train crew being killed.

"It is good to know that the judicial system has recognised the seriousness of the case in the sentences they have given.

"I hope this acts as a lesson to anyone else who may be inclined to carry out such reckless acts."