The Scottish Government’s finance secretary Derek Mackay has resigned following allegations in a tabloid newspaper that he sent 270 online messages on social media to a 16-year-old boy.
Mackay resigned hours before he was due to present the Scottish budget.
It is understood Kate Forbes, minister for public finance, will take Mackay’s place to present the Scottish Government’s budget to Holyrood later on Thursday.
“I take full responsibility for my actions,” said Mackay.
“I have behaved foolishly and I am truly sorry.
“I apologise unreservedly to the individual involved and his family.”
First Minister Nicola Sturgeon said: “Derek has taken full responsibility for his actions and apologises unreservedly for them to the individual involved and to those he has let down.”