Defence Secretary Michael Fallon paid tribute to the "professionalism" of RAF Tornados as they left Afghanistan for the final time.
The jets from 31 Squadron left the country from Kandahar airfield after more than five years.
They had been in Afghanistan since June 2009, when they took over from RAF Harriers.
Flight Lieutenant Oli Payne, 29, who led the final sortie, described the role as a "real privilege".
He said: "It was a hugely poignant day as it brought to a close about 10 years of constant fast jet operations by the RAF in Afghanistan, so it was a big moment for both the crews and the RAF.
"The Tornado GR4 has been offering intelligence, surveillance and precision close air support for more than five years now and it's done a remarkable job, remaining as potent a platform today as it has ever been.
"It's been a great honour to be here on the very last tour and to offer the Afghan forces support during the transition period."
The planes have provided information and support for NATO troops, as well as intimidating opposition forces and carrying out airstrikes.
Crew will now go to RAF Akrotiri in Cyprus before heading home to RAF Marham in Norfolk.
Mr Fallon said: "The Tornado remains the fast jet workhorse of the RAF and has performed superbly over many years in Afghanistan, supplying life-saving intelligence and precision weapons in support of our mission there."
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules hereComments are closed on this article