Derek Adams has been appointed Ross County manager for a third time hours after leaving Morecambe.
The 48-year-old returns nine years after he last left the Scottish Premiership club.
Adams has been in charge of Morecambe since February 2022 and leaves them ninth in England's League Two after their relegation last term.
He replaces Malky Mackay, who was sacked last week with his side sitting second bottom of the the top flight.
County have gone eight games without a win, having only avoided the drop last season in a play-off final shootout.Adams exit a blow for MorecambeQuestions for County after Mackay fails to find answersVisit our Ross County page for all the latest news, analysis and fan views
Adams inherit a team sitting above only Livingston on goal difference after two wins from their opening 12 games of the new campaign.
Confirming his departure, Morecambe said Adams did "an excellent job in challenging circumstances" during his second stint with the club.
A statement explained that the board wished to keep him, but a contractual release clause was met.
Adams first left Dingwall in November 2010 - after leading the then second-tier side to the Scottish Cup final that year - to become assistant to Colin Calderwood at Hibernian.
He returned to County just seven months later, though, leading them to promotion to the top flight before leaving in August 2014.
Since then, he has had spells at Plymouth Argyle, Morecambe and Bradford City, before agreeing to take charge at the Lancashire club for a second time in February 2022.
Will Adams' return be good for County?
If the form doesn't load properly, go straight to it here...
Our coverage of Ross County is bigger and better than ever before - here's everything you need to know to make sure you never miss a momentEverything Ross County - go straight to all the best content