A man who filmed himself raping a woman as she slept has been jailed for four-and-a-half years.
Kevin Kinnell carried out the attack at a flat in Cowdenbeath, Fife, in May 2019.
The 33-year-old was only interrupted when an alarm from a mobile phone went off.
A relative of the woman later became aware of the footage before Kinnell was arrested.
Kinnell returned to the High Court in Glasgow on Monday having earlier pleaded guilty to a rape charge.
Lord Mulholland told him: “You raped her while she was asleep. I have seen the footage – your conduct was disgraceful and disturbing.
“It ended up in the hands of her family, which must have been humiliating, but I do not hold you responsible for that.”
The judge said the jail term would have been six years, but for the guilty plea.
The clip of the attack was played during the hearing last month when the woman could be seen virtually naked lying on a bed.
Prosecutor Stephen McCloy said: “She is visibly in a deep sleep and does not move.”
Kinnell, of Lochgelly, Fife, was also seen carrying out other indecent acts.