The SNP has appointed its former head of communications Murray Foote as its new chief executive.
Mr Foote resigned from his previous role in March amid a row over the party's membership numbers.
He had described a newspaper report that they had dropped by 30,000 as "drivel", but it was later confirmed the figure was correct.
He replaces Peter Murrell who stood down after taking responsibility for misleading the media.
Mr Foote was previously editor-in-chief at the Daily Record and Sunday Mail newspapers from February 2014 to March 2018 before joining the SNP as the party's communications chief.
First Minister Humza Yousaf said Mr Foote would bring a "wealth of experience and talent to the role."
'Wild goose chase'
After his earlier resignation, Mr Foote had spoken out against the police investigation into the SNP's funding and finances, calling the process a "wild goose chase" and a "grotesque spectacle".
Mr Murrell and Nicola Sturgeon have since been arrested and questioned as part of the police inquiry, along with the former SNP treasurer Colin Beattie.
All were released without charge pending further investigation.
Mr Foote will take up his role from Monday.
A Scottish Conservative spokesman told the BBC that the SNP was "merely reshuffling the same people into different posts".
- The era of SNP dominance in Scotland appears to be over after a poll showed Labour on course to win the same number of seats in next year's general election following a dramatic shift in support.
The Survation survey, for True North, predicted that both the SNP and Labour would win 24 seats north of the border in a major boost to Sir Keir Starmer's hopes of becoming prime minister.
This would mean the SNP losing half the 48 seats it won in the 2019 general election, with Labour staging a major comeback in Scotland after winning only one seat last time.
The Telegraph says Labour achieved 35% support in the poll, its highest level since 2014 and only two points behind the SNP's 37% rating, with the Tories on 17%.