The leaders of Scotland's political parties were among those casting their votes at polling stations on Thursday.

SNP leader Nicola Sturgeon was joined by husband Peter Murrell at their polling station in Glasgow while Scottish Labour leader Kezia Dugdale cast her ballot in Edinburgh.

Scottish Conservative leader Ruth Davidson was accompanied by her partner Jen Wilson and dog Wilson to vote at the Cafe Camino venue in central Edinburgh.

Scottish Liberal Democrat leader Willie Rennie voted in Kelty in Fife while Scottish Greens co-convener Patrick Harvie cast his ballot in Glasgow.

Polling stations will close at 10pm, with declarations in Scotland expected to begin coming in from around 2am on Friday.

STV's overnight coverage of the election will begin at 9.55pm and as polls close at 10pm STV will have the results of a UK-wide exit poll, commissioned by ITV, BBC and Sky.

There will be comprehensive online coverage of the election, including a live blog with up-to-the-minute results and reaction overnight.

Voters in the Holyrood constituency of Ettrick, Roxburgh and Berwickshire will also be voting to choose their MSP in a by-election triggered by the resignation of Conservative John Lamont to fight for the Westminster constituency seat of Berwickshire, Roxburgh and Selkirk.