Posting on X, John Swinney says he is "deeply honoured" to have been elected SNP leader and that he will "give all that I have to serve my party and my country".
Former Deputy First Minister John Swinney was the only person to officially put themselves forward to succeed Humza Yousaf for the top job in Scottish politics