British Transport Police (BTP) said they were called to the scene at 09.43 following a report that a train had derailed, with ambulance services, fire brigade and Police Scotland also in attendance.

“Very sadly despite the best efforts of paramedics, we can confirm that three people have been pronounced dead at the scene,” BTP says. “While formal identification is yet to take place, the driver of the train is very sadly believed to have died. His family have been informed and are being supported by specially trained family liaison officers.”

Officers are continuing to work to inform the families of the other two people who have died. Six people have been taken to hospital to be treated for injuries, which are not believed to be serious.

The Rail Accident Investigation Branch announced that it had sent a team of inspectors to the site to launch an investigation, and would provide an update in the coming days.

The accident occurred following storms across Scotland that resulted in heavy rain and flooding for much of the area.

“This is a tragic incident and first and foremost our thoughts are with the families and friends of those who have very sadly died this morning,” says BTP chief superintendent, Mr Eddie Wylie. “We remain on scene alongside our emergency service colleagues, and a major incident operation has been underway. I would like to reassure the public that this was not a busy service, and from CCTV enquiries and witness statements we believe all passengers have been accounted for. However, once the area has been made safe then a full and thorough search will be conducted, which is likely to take some time.

“I know many people will understandably have questions, and the investigation will be directed by the Crown Office and Procurator Fiscal Service (COPFS). We will be working closely with them, alongside the Rail Accident Investigation Branch and the Office of Rail and Road to establish the full circumstances of how the train came to derail.”