The story of election night in Scotland

First Minister John Swinney has described the general election result as "very, very difficult and damaging" for the SNP, as Labour made dramatic gains in Scotland.

As his party suffered a series of big losses, Mr Swinney said there would need to be "soul searching" following a "very poor result".

Labour has won a landslide in the general election in the UK, and Keir Starmer will be the new prime minister.

Watch the main moments from a historic night in Scottish politics.

Video by Graham Fraser