Alex Salmond formed the second Salmond government on 19 May 2011 following his Scottish National Party's landslide victory in the 2011 election to the 4th Scottish Parliament. This was the first single-party majority government in the history of the devolved parliament. Salmond's second government ended on 18 November 2014 upon his resignation as First Minister of Scotland.
In September 2012, Salmond made a snap reshuffle in light of the 2014 Scottish independence referendum.[3] Nicola Sturgeon and Alex Neil switched roles, with Sturgeon taking on responsibility for the independence referendum. Bruce Crawford announced his retirement from government.
On the 18 November, Salmond officially resigned as first minister and two days later Sturgeon formed her first government, dissolving Salmond's cabinet.