Cunningham strongly opposed Scottish devolution. At his prompting, the House of Commons accepted an amendment to the Scotland Act 1978 that a majority voting "yes" in the 1979 referendum on establishing a devolved Assembly would have to constitute at least 40 per cent of the Scottish electorate, without which the proposal could be withdrawn and the Act repealed by statutory instrument. Although “yes” won a majority of those voting in the referendum, as the "yes" constituted only 32.9 per cent of the electorate, the Labour government decided it would not proceed with devolution. This prompted the Scottish National Party to withdraw its support for the minority government. The Conservative opposition then tabled a motion of no confidence, in which the government was defeated by one vote. The Conservative Party, which was opposed to devolution, won the subsequent general election; the Scotland Act was repealed in June 1979.