"Operational issues" with a Caledonian Sleeper caused delays to ScotRail services during rush hour.

The overnight train stopped in the Abbeyhill area - to the east of Edinburgh - on Thursday morning after "overrunning a platform".

At 7.53am, ScotRail advised passengers that services between Edinburgh and North Berwick and between the city and Tweedbank had been affected as trains were unable to run through the stations.

Ticket acceptance was put in place with bus services.

By 9.04am, the sleeper was back up and running.

A ScotRail spokesperson said: "The sleeper service is now on the move back to Edinburgh.

"Services that were affected are starting to return to their normal schedule although they remain subject to alteration/cancellation due to units and crews out of position.

"Thank you for your patience."

Ryan Flaherty, Serco's managing director for Caledonian Sleeper, explained: "Our Northbound Lowlander service into Edinburgh Waverley this morning overran the platform, due to an earlier operational issue at Carstairs.

"An investigation is under way into the cause of the incident, but early indications are that there are no technical problems with the rolling stock.

"We have notified the relevant authorities.

"As a result of the delay guests disembarked at Edinburgh Waverley at around 8.45am and we're sorry for the effect this delay had for our guests.

"We anticipate that services will run as normal tonight."