Olympic torch: Allan Wells carries flame in Borders
Scottish sprint legend Allan Wells has carried the Olympic flame as it made its way towards the English border.
Wells, who won gold in the 100m at the 1980 Moscow Olympics, carried the torch in Selkirk.
Day 27 of the relay started in Edinburgh as the flame set out for its 140-mile trip through the Borders into England north of Berwick-upon-Tweed.
The day ended with an evening celebration on Alnwick Castle Pastures.
A touch of magic may be sprinkled on the Olympic flame at the site, which was the location for two of the Harry Potter films.
Mr Wells, 60, from Edinburgh - who became the oldest Olympic 100m champion when he won in the then-USSR (a record since surpassed by fellow Briton Linford Christie) - passed the flame in Selkirk to GB handball captain Lynn McCafferty, 33, from Cumbernauld.
Earlier, the first of Thursday's 130 torchbearers was swimmer Raquel Matos, 16, from Edinburgh, who started the relay in Festival Square.
Shortly afterwards the relay paused outside the Scottish Parliament.
World Irish Dancing Champion Lauren Wales, 13, from Blaydon on Tyne, carried the flame through Loanhead in Midlothian.
Chris Paterson, 34, Scotland's most-capped rugby player with 109 appearances, made short work of his leg with the torch in Galashiels.
Thursday's relay route took in Duddingston, Musselburgh, Dalkeith, Lasswade, Loanhead, Bilston, Milton Bridge, Penicuik and Eddleston.
Foulden was the last location in Scotland before the flame passed into Northumberland with Berwick-upon-Tweed the first stop.
The relay crossed the River Tweed over the Royal Tweed Bridge and then drove along the coast road - passing Lindesfarne - on to Bamburgh, the first of two locations dominated by imposing castles.
There it was carried by former Royal Marine Brian Tinnion, who raised almost £30,000 for the Help for Heroes charity with a series of gruelling challenges, including a cycle ride the length of the country from Land's End to John O'Groats.
After Bamburgh came Alnwick where young performer and fundraiser Lewis Denny ran with the torch and lit the cauldron at Alnwick Castle Pastures.
Afterwards he said: "I'm shaking" before looking into the audience and saying "I know my mam will be out there, crying."
Performances for the evening event came from Little Comets - an indie band from Jarrow and Newcastle-upon-Tyne - as well as dance act Twist and Pulse.
A total of 8,000 people will carry the flame during its 8,000 mile, 70-day journey to the opening ceremony of the Olympic Games in London on 27 July.