Train services along the Berwickshire coast were delayed this week as summer storms hit the area.
Lightning is believed to have struck signalling equipment at Reston.
This affected several trains put on by East Coast and CrossCountry, travelling both ways between Edinburgh and Berwick.
The disruption, after the lightning struck at 7.40am, initially halted services for two hours.
The disruption was initially estimated to last until 1pm. This was later pushed back to 3pm.Passengers travelling between York and Einburgh were allowed to use either East Coast or CrossCountry trains in an effort to deal with the problem.
As they dealt with the disruptions, a Network Rail spokesperson commented: “Heavy rain and lightning are moving into parts of Scotland and we’re out on the network to react to any issues quickly.”
Nick King of Network Rail added: “This was not the only instance today of signal equipment being hit by lightning. It is the nature of the signal boxes, which are usually the tallest structure in the area, and made of metal.”