In 2004, after John Swinney stood down as SNP party leader, Kenny MacAskill backed the joint leadership ticket of Alex Salmond and Nicola Sturgeon. He had initially intended to stand for deputy leader himself on a joint ticket with Nicola Sturgeon, who would have sought the leadership. He gave way when Salmond reconsidered his earlier decision not to seek re-election to the leadership. Upon their election as leader and deputy leader respectively MacAskill was selected to be the SNP's deputy leader in the Scottish Parliament, making him the shadow Deputy First Minister.