Derek Mackay’s resignation hours before delivering the Scottish Budget is the latest in a string of misconduct allegations to rock the Scottish National Party.

At the height of the Harvey Weinstein allegations in 2018, Mark McDonald — who had been seen as a rising star — quit as child welfare minister after three women accused him of inappropriate behaviour. Under pressure from Nicola Sturgeon, he resigned the party whip, remained as an independent MSP, and became a pariah at Holyrood.

At the time, Ms Sturgeon said: “He was elected as an SNP MSP. If his behaviour is such that he himself considers he cannot continue as an SNP MSP, then it would be appropriate to give his constituents the opportunity to elect a new MSP.”