This election was followed by the 2016 European Union referendum after which the SNP joined with the Liberal Democrats and Greens to call for continued membership of the EU. Despite a consequential increase in the Conservative vote at the 2017 local elections the SNP for the first time became the largest party in each of Scotland's four city councils: Aberdeen, Dundee, Edinburgh and Glasgow, where a Labour administration was ousted after 37 years.