However, on 28 March 1979, following the defeat of the Scottish devolution referendum, Thatcher tabled a motion of no confidence in Callaghan's Labour government, which was passed by just one vote (311 to 310), triggering a general election five months before the end of the government's term.