text: At 05:00 The Scotsman's front page declared a "historic victory for SNP".
  The Herald also published a 5am edition. The paper said: "Sturgeon triumphant as Labour humiliated."
  "Victory's at hand" was the earlier headline in The National, with a full page picture of Nicola Sturgeon with her husband and SNP chief executive Peter Murrell. The paper said she was "on course to win her mandate".
  "Just Like Nat" was the headline on the front page of the Scottish Sun. Earlier, shortly after the polls closed, the newspaper tweeted that the Tories would "comfortably" seal second place.
  The Daily Record published its first edition with the caption "01:30 election latest". The headline was "Five more years" and the paper said Nicola Sturgeon was set to be returned as first minister.
  The Scottish Daily Express said Nicola Sturgeon had been warned that there would be "no more excuses" for failing to deliver for Scotland as the SNP "swept to an historic third term" in the Holyrood election.
  The Daily Star headline was "Five more years". It also predicted the SNP was poised to "hold Holyrood".
  The Scottish Daily Mail had published three editions by 03:00. Its most recent said "SNP set for victory, Tory vote surges in push for second and Labour disaster as seats tumble".
  The Daily Telegraph said Nicola Sturgeon "could be denied" a new independence referendum.
target: As the counts got under way in the Holyrood election the Scottish papers were predicting an SNP victory and there was little change as updated editions were published through the night.