Image source, Getty Images
Peter Murrell ran the SNP for much than 20 years - but faced being ousted by its ruling body
By Philip Sim
BBC Scotland governmental correspondent
The SNP enactment contention has been gripped by a enactment implicit rank figures which has seen the party's apical rotation doc and its main enforcement resign.
What is going connected wrong Scotland's ascendant governmental party, and what does it mean for the contention to regenerate Nicola Sturgeon?
How did this enactment begin?
The 3 candidates to regenerate Ms Sturgeon arsenic SNP person and archetypal curate - Humza Yousaf, Kate Forbes and Ash Regan - started retired with comparatively small accusation to run with.
In immoderate different parties, enactment candidates are fixed the accidental to canvass members directly. But successful the SNP's system, they were not adjacent told however galore members determination were.
The enactment began erstwhile The Mail connected Sunday had suggested that lone 78,000 names had been fixed to the institution moving the ballot, Mi-Voice. This was sharply down connected the antecedently reported SNP membership, which was successful six figures.
Ms Forbes and Ms Regan requested further details successful an unfastened missive to Peter Murrell, the party's main enforcement - who besides happens to beryllium Ms Sturgeon's husband.
The candidates were annoyed by the information they had asked for clarification from enactment HQ respective times, and had not received a response.
Image source, Reuters
Image caption,Ash Regan and Kate Forbes are enactment rivals, but agreed to rise concerns astir the process
A connection from Forbes run manager Michelle Thomson ratcheted things up further, by suggesting the enactment name an autarkic auditor of the vote.
She hinted astatine immoderate concerns of impropriety, without going into circumstantial details.
This sparked a furious effect nonetheless, with 1 SNP MP calling it "Trumpian nonsense" and "fake news", and enactment president Mike Russell saying unit had been abused by individuals who "damage our origin and assistance our enemies".
Mr Yousaf's run backed the merchandise of the figures, but said members would beryllium upset by immoderate proposition the ballot was not valid.
Meanwhile, opposing parties were delighted, with Labour person Anas Sarwar joking astir a "saltire-waving Stop the Steal rally" extracurricular Holyrood and person of the House of Commons Penny Mordaunt weighing successful to telephone the enactment an "extraordinary occurrence".
Image source, PA Media
Image caption,Humza Yousaf has won the backing of galore apical names successful the SNP
What was the SNP's response?
The SNP's contiguous stance was 1 of bafflement.
Ms Sturgeon told reporters she wasn't definite what the enactment was each about, saying she was "not wide what the circumstantial allegations astir the process are".
National Secretary Lorna Finn noted that the aforesaid electoral strategy had been utilized for a bid of lawman person elections, and told the candidates that "I tin guarantee you that I americium satisfied arsenic to the integrity of the ballot".
However, the enactment did hold to uncover the size of the membership, having planned to bash truthful astatine the extremity of the contention anyway.
They hoped that would enactment the enactment to furniture - but it lone lit the touchpaper connected an adjacent bigger dispute.
Image source, PA Media
Image caption,Nicola Sturgeon has been pressed astir the enactment contention repeatedly astatine Holyrood
What are the numbers, then?
The SNP's year-end rank figures are usually reported annually successful its accounts. The astir caller fig was 104,000 astatine the extremity of 2021.
The candidates were informed that the fig had fallen to conscionable implicit 72,000 - a diminution of 32,000 successful conscionable implicit a year.
This was caller worldly for the SNP's opponents to crow over, and besides throws caller airy connected Ms Sturgeon's determination to locomotion distant - and, perhaps, wherefore Mr Murrell had to indebtedness the enactment much than £100,000 successful 2021.
Ms Forbes and Ms Regan seemed comparatively contented to instrumentality the triumph and usage this arsenic a campaigning constituent - some saying that it made the lawsuit for a alteration of direction.
But it was swiftly flagged up that the enactment had explicitly denied a communicative astir the rank having fallen backmost successful February.
After the Sunday Mail reported that numbers were down by 30,000, the enactment said the fig was "not conscionable wrong, it's incorrect by astir 30,000".
Spin doc Murray Foote - a erstwhile paper exertion who really oversaw the Sunday Mail earlier helium moved to the SNP - had agreed to enactment retired the response, and added his ain tweet that the communicative was "drivel".
It present turns retired to person been bang on, and Mr Foote promptly resigned.
Image source, STV/BBC
Image caption,Murray Foote said helium had issued agreed enactment responses to the media
Why didn't that settee things?
Mr Foote did not enactment straight for SNP HQ; helium was employed by the party's MSP radical astatine Holyrood. The favoritism is an important one, due to the fact that it meant helium relied connected others to supply him with the figures.
So his resignation could not beryllium the extremity of the story. It lone raised further questions.
And it was Mr Murrell who took eventual responsibility, accepting connected Saturday that the effect to the Sunday Mail had been misleading.
He said helium had been readying to measurement down aft implicit 20 years arsenic main enforcement anyhow - and galore had expected that, fixed his wife's departure.
But helium was besides expected to look a ballot of nary assurance from the SNP's ruling assemblage connected Saturday, and his enforced departure has added to the consciousness of a enactment instrumentality successful meltdown.
Image source, Getty Images
Image caption,Nicola Sturgeon and Peter Murrell were the hubby and woman duo astatine the apical of the SNP
What does each of this mean for the SNP?
Mr Murrell leaving would beryllium a large communicative successful itself. He has tally the SNP since 1999, done the full devolution era.
In that clip helium has turned the enactment into a acold slicker operation, and has presided implicit a drawstring of predetermination victories.
He is astir apt lone the archetypal 1 exiting the doorway astatine HQ. Whoever takes implicit the enactment is apt to cleanable house.
And with Ms Sturgeon and her lawman John Swinney heading to the backmost benches with 50 years of parliamentary acquisition betwixt them, the SNP is going done a hard reset.
Whoever takes the reins whitethorn person to rebuild the enactment instrumentality from scratch.
Image source, PA Media
Image caption,The 3 candidates were each smiles astatine the BBC debate, but the run turned bitter again wrong days
Could it impact the enactment contest?
The enactment implicit rank figures was the latest successful a drawstring of unforced errors from SNP HQ during the contest.
It started with the effort to clasp hustings down closed doors - different avoidable quality which resulted successful a predictable u-turn.
The process is improbable to beryllium derailed entirely, for each that Ms Forbes and Ms Regan person raised complaints astir assorted elements of it.
The question is whether the ongoing consciousness of chaos makes the lawsuit for alteration astatine the apical of the party, arsenic they hope.
The driblet successful rank mightiness suggest that those disgruntled with the absorption of the SNP - beryllium it implicit independency strategy oregon sex betterment - person quit, leaving down those who are much satisfied with the presumption quo.
So "continuity candidate" Humza Yousaf mightiness seemto beryllium successful a beardown position, particularly having secured the backing of influential figures specified arsenic Mr Swinney.
But polls suggest that galore SNP voters were inactive undecided astatine the constituent voting began, with much than capable "don't know" responses to marque a large difference.
There could easy inactive beryllium a ample radical of members waiting to formed their ballot, who are watching this ongoing bin-fire with horror.
It each means the result of the contention inactive feels wholly up successful the air, with hardly a week to spell until 1 of the candidates volition beryllium crowned SNP person and Scotland's adjacent archetypal minister.