When the Labour government of James Callaghan started losing its majority in parliament, it made deals with the smaller parties including the Liberal Party, the SNP and the Welsh nationalists. The SNP only agreed to support this if a referendum was given to the Scottish people on the creation of a devolved assembly. The referendum gained support from 51% of Scots but the Labour government decided that not enough people had voted in the referendum and because of this, the SNP refused to support the Labour government. The general election of 1979 saw the SNP reduced to only 2 seats in parliament.