A 27-year-old man who took photos of three females while they slept topless has been placed on the sex offenders register.
Alexander Degnan - who now resides in Rutherglen - admitted three counts of voyeurism at Selkirk Sheriff Court in the Borders.
He also pleaded guilty to a charge of sexual assault as one of the photos showed his hands touching one of the females' breasts.
Degnan's crime only came to light when a partner noticed he had a large amount of images on his phone.
When she looked through them she recognised images of herself and other females that she knew.
The female called the police and Degnan was arrested and his mobile phone seized.
Depute fiscal Joanna Waller told the court: "All the witnesses were unaware that the images had been taken."
Degnan pleaded guilty to taking a photograph of a female's breasts while she was sleeping under a duvet at a house in Jedburgh, Roxburghshire, between 2016 and 2019.
He also admitted sexually assaulting the female on December 31, 2019, by touching her.
Between January 2017 and March 2019, there were four topless images of another woman appearing to be sleeping at a house in Channel Street, Galashiels, Selkirkshire.
The third voyeurism offence happened on various occasions at a house in Edinburgh and Jedburgh between January 2019 and July 2020, in which her breasts were exposed.
There was another image of the woman lying face down with her trousers and underwear pulled down and her buttocks exposed.
Degnan, formerly of Jedburgh, had sentence deferred until April 19 for the production of background reports.
He was also made subject of the notification requirements of the Sexual Offences Act.
*Don't miss the latest headlines from around Lanarkshire. Sign up to our newsletters here.
And did you know Lanarkshire Live had its own app? Download yours for free here.