So after a fractious five-week SNP contest Humza Yousaf has been declared the party's new leader.
It would be safe to say there was a huge collective sigh of relief among the party's most senior figures when Mr Yousaf was declared the winner in Murrayfield Stadium this afternoon.
While outgoing First Minister Nicola Sturgeon did not endorse any of the three contenders, most observers believed the health secretary and self-styled "continuity candidate" was the candidate she wanted to succeed her.
But while Mr Yousaf won the contest, his was a narrow victory. He did not win an outright majority in the first round of voting with the counting of votes having to go to a second round.
đ Sign up for our Unspun newsletter and enjoy opinion and analysis from some of Scotland's best political writers and commentators. Click here to sign up đ
When second preferences were distributed in the second stage, Mr Yousaf beat Ms Forbes by 52 per cent to 48 per cent.
It suggests the SNP is divided over the party's choice and on the direction of party policy: just over half want to push on with the agenda established by Ms Sturgeon which Mr Yousaf will seek to develop, while almost half believed that "continuity won't cut it" as Ms Forbes told voters across the country in repeated heated TV debates.
So it is likely that his first immediate challenge will be to unite the party and persuade members who voted for Ms Forbes and Ms Regan that he can listen to them.
This will be difficult.
In his speech from the podium after the result was announced Mr Yousaf acknowledged the need to heal divisions and stressed the importance of uniting the party, adding that he would âharness all the talent across the partyâ.
He said: âWe are one team and we will be the team that delivers independence for Scotland. As a party we are strongest when we are united. I will aim to earn your trust by continuing to ensure we govern well and earn your respect as First Minister.â
Among his leadership rivals' top concerns is the Gender Recognition Reform Bill (GRRB) and what to do with the UK block to the legislation.
Those two camps â and their supporters â made clear they were opposed to taking Rishi Sunak government to court over the matter with Ms Forbes favouring a negotiated compromise in the first instance and Ms Regan flatly against.
At the same time, Mr Yousaf needs to retain the support of the Scottish Greens, the SNP's partners in government.
It is only by having the Greens continued backing can the SNP govern as a majority in Holyrood.
Yet the Scottish Greens are demanding that the price for remaining committed to the Bute House Agreement is the new FM's commitment to challenging the UK Government on its veto to the GRRB.
Away from SNP party management, Mr Yousaf is also likely to face challenges in keeping SNP voters on board ahead of the General Election, expected by the end of next year.
During the SNP's internal strife Labour has sensed an opportunity to win back some of its former voters who switched to the SNP...
Want to read the full article? Sign up for free to the Unspun newsletter and receive it directly to your inbox every weekday night at 7pm.Â
Click here đ
Why are you making commenting on HeraldScotland 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 here