Scottish National Party (SNP) veteran John Swinney was confirmed as the party's new leader on Monday, set to succeed Humza Yousaf as the country's first minister after he emerged as the sole contender in the leadership race for a new premier.