Steve Clarke has stepped down as Scotland head coach - moments after his side's World Cup exit was confirmed.
Scotland's fate was sealed on Saturday night following Ghana's defeat to Croatia, and confirmation of Clarke's resignation came within an hour of that.
The 62-year-old - who had been at the helm for seven years - was the first men's head coach to lead the nation to three major finals.
Qualification for this summer's World Cup was Scotland's first since 1998. That had followed consecutive European Championships, and resulted in Clarke being rewarded with a new four-year deal just last month before the squad flew out to the USA.
However, with the national team failing to reach the knockout rounds at a tournament for the first time, the former Kilmarnock, Reading and West Brom boss stepped away from the job.
Clarke reveals 'pride and satisfaction'
In an open letter to supporters, Clarke - who had managed a record 81 games - said: "When I was first approached by the Scottish FA about the position of head coach I was advised by many people to leave well alone as the job had become a poisoned chalice.
"In my head I was just the wee boy from Saltcoats who had done well in his chosen profession and my country wanted me to be their leader, at least in a football sense. I couldn't find a reason to turn the approach down. My job remit was simple: qualify for a major tournament.
"As I reflect on my seven years in the job my overriding emotion is pride, closely followed by satisfaction.
"In time I will be able to reflect on a tumultuous seven years, but one element that has given me the greatest satisfaction is witnessing the reconnection of our national team and our fans. From my opening game against Cyprus in front a half-empty Hampden Park and a largely apathetic crowd to the frenzy of such unforgettable matches as our 2-0 defeat of Spain and that memorable night against Denmark.
"The were magical occasions; nights that will endure in Scottish football folklore. This reconnection was never more evident than during the past few weeks. From Miami to Boston and New Jersey our fans won the hearts and minds of the American public and football fans across the world.
"Let us not forget that the players won a World Cup finals match for only the fifth time in Scottish football history, and the first for 36 years. The team were responsible for giving everyone the chance to create memories that will last a lifetime and I am proud to have played a part in that.
"The most emotional part of this goodbye is for my players, without whom we wouldn't have had any of the memories that we've accumulated from 2019 until now. From our captain Andy Robertson with 97 caps to those at the start of their journey with the national team, almost every player that has been called upon in my time as head coach has turned up and given everything for their country, hence a period of sustained improvement for our national team.
"I quite quickly realised that continuity and familiarity would help these players to bond with each other and my staff, leading them to understand what is needed to be more successful at international level. They deserve all the praise and adulation that they receive and it was truly an honour to be called their gaffer.
"Thanks for having me and good luck to my successor."
How Scotland's World Cup unfolded
Scotland kick-started their tournament with a 1-0 win over Haiti, their first victory at the World Cup since 1990, and topped the group momentarily after Brazil's 1-1 draw with Morocco.
Clarke's side had chances to add to their one-goal lead, which could have provided a vital boost in terms of their goal difference, but failed to score any further goals against Haiti, who are placed 83rd in the FIFA world rankings.
A 1-0 defeat to Morocco then followed, conceding the deciding goal after just 70 seconds, with penalty controversy at the forefront of the discussion after the game.
John McGinn and Scott McTominay both saw claims for spot-kicks waved away but even after the defeat, their chances of qualification for the knockouts sat at around 70 per cent.
But a 3-0 loss to Brazil in their final game of Group C was disastrous. It meant they finished third with their goal difference decimated.
Scotland had been left with an agonising wait to see if they had picked up enough points and achieved a sufficient goal difference to qualify as one of the tournament's eight third-placed teams.
Their chances, however, decreased with every subsequent group game played, until their exit from the tournament was confirmed following Ghana's 2-1 loss to Croatia, which meant it was no longer mathematically possible for them to finish as one of the top eight third-placed teams.
Will Scotland have regrets?
Sky Sports News reporter Luke Shanley:
"Scotland knew in December how tough it was going to be at this World Cup.
"It was probably expected that Scotland would beat Haiti and then lose to Morocco and Brazil, but it is the way that Scotland have lost.
"It has been against two sides in the top 10 in the world but there have been individual errors. At this level, the smallest things have the biggest impact.
"Errors have put Scotland in difficult positions early in the games against Morocco and Brazil.
"There's been talk about having no regrets as a Scotland team but it hasn't really transpired. The frustration now is about not kicking on - I think there will be regrets."
'Scotland don't have the athleticism, size or speed for this level'
Sky Sports' Kris Boyd:
"If you look at the big players, could Andy Robertson have played better? Yes. Could Scott McTominay have played better? Yes. Could John McGinn have played better? Yes, but he scored Scotland's only goal at this World Cup.
"I don't think the manager or the players have let themselves down. It's not as if they have not tried.
"But there is no doubt that there are levels of football, in terms of athleticism, size and speed. We don't have that. We don't have it to compete at the top level. That's something we have to look into in future years and how to improve that.
"People say we should have played in a certain style, but we really lack in that speed at the top end of the pitch. I know Ben Gannon-Doak has good reviews in what he's been able to do in a short space of time. He looks rapid. But speed at the top level? He's not at that level.
"We have got good players, but there are levels in football. And we are nowhere near the elite level.
"McTominay, McGinn are part of teams at Napoli and Aston Villa who have been successful. I'm not criticising the Scottish guys at the World Cup, but they're not at the level that the guys are used to playing at their clubs.
"We have a few at the elite level, but a few that aren't. And that step up may just be too big."
(c) Sky Sports 2026: Steve Clarke steps down as Scotland boss after World Cup elimination confirmed

England vs New Zealand: Ben Stokes' side stumble on day three of third Test at Trent Bridge and drift towards series defeat
Panama 0-2 England player ratings: Jude Bellingham shines again but Jarell Quansah and Morgan Rogers disappoint
England's World Cup 2026 fixtures, schedule and tournament route to final - how Three Lions could lift trophy on July 19
ICC Women's T20 World Cup: Danni Wyatt-Hodge helps England remain unbeaten as they end New Zealand's reign