Scotland's finance secretary has quit hours before delivering his budget amid reports that he messaged a 16-year-old boy on social media.
The Scottish Sun said that Derek Mackay contacted the schoolboy over a six-month period, and told him that he was "cute".
Mr Mackay said he had "behaved foolishly" and took full responsibility for his actions.
He also apologised "unreservedly" to the boy and his family.
First Minister Nicola Sturgeon said she did not know about Mr Mackay's "unacceptable" behaviour until Wednesday evening, and is "not aware of any further allegations" against him.