Flying Scotsman crosses Forth Bridge in triumphant visit to Scotland
One of the world's most famous trains has crossed the Forth Bridge as the Flying Scotsman marked its return to Scotland.
See also: Flying Scotsman sets out on inaugural journey from London to York
Hundreds of people gathered at stations and vantage points to catch a glimpse of the restored steam engine as it took to the Borders, Midlothian and Fife on Sunday.
The train left Edinburgh's Waverley station shortly before 11am, where officials estimated 800 people turned out to see it depart for Tweedbank in the Borders.
Hundreds more lined the route in parts and congregated at places such as Galashiels and Tweedbank to get a closer look at the locomotive.
After a return to Waverley, Flying Scotsman headed to Fife with a new group of passengers on board as it crossed the famous Forth Bridge.
People gathered at vantage points in North and South Queensferry to watch the locomotive cross the distinctive red bridge that has carried trains over the Forth since 1890.
Hundreds of pictures of the crossing were posted on social media by those watching from the shore and people on board.
The meeting of the two engineering masterpieces nearly did not happen after Network Rail cancelled Flying Scotsman's planned trip.
The track operator said on Friday night that the locomotive would no longer be able to complete its tour because it had not been able to carry out safety assessments on some lines.
The decision dismayed hundreds of rail enthusiasts planning to see the recently refurbished steam engine, and after an outcry led by Scotland's Transport Minister Derek Mackay, Network Rail reversed its position and said checks had been carried out overnight to allow the train to take to the track.
The engine arrived at Waverley to fanfare on Saturday evening and Network Rail chief executive Mark Carne offered a "wholehearted and sincere apology" for the earlier cancellation which Mackay described as a "debacle".
An investigation is still to take place into the reasons for the premature cancellation.
Built in Doncaster, South Yorkshire, in 1923, Flying Scotsman pulled the first train to break the 100mph barrier in 1934.
The National Railway Museum in York bought the locomotive for £2.3 million in 2004 before work got under way on its decade-long restoration two years later.