A sex attacker caught after his victim found a video of him raping her has been jailed for seven-and-a-half years.

Allan Alexander took advantage of the woman who had no idea that she had been preyed upon at the time.

She was left sickened after then discovering the clip on a computer they both used.

Prosecutor Eilidh Robertson said: "She found [the footage] he had made of him having sex with her. It was dated 2012.

"She was very shocked when she found the video. It lasted 17 minutes and she is clearly asleep throughout.

"She had no idea that he had done this until she discovered the video years later."

There was also a second clip - not dated - which had him appearing to molest the woman and him smiling into the camera before she awoke.

Alexander, 37, was today sentenced at the High Court in Glasgow.

READ MORE: Killer who mowed down man in Greenock after funeral row jailed

He previously pleaded guilty to rape and five other charges involving the woman between December 2010 and January 2021.

The crimes mainly occurred in Ayr and Prestwick, both Ayrshire, as well as Glasgow.

The other charges included the woman waking up to find him having sex with her.

Ms Robertson stated: "He once made a comment to her that if anyone found out what he was doing then he would get done for rape."

She regularly suffered physical violence which included him attacking her when she asked for music to be turned down.

He also left her hurt on the day she started a new job and she further needed urgent medical treatment while on holiday abroad.

Ms Robertson stated: "He once told her that she would wake up one night and he would be at the bottom of her bed with a knife."

Drunken Alexander joined the woman at an awards ceremony at a hotel in Glasgow in 2019.

The advocate depute stated: "He was threatening towards her and her colleagues.

"She ultimately left in tears. In the taxi, he threatened her with violence when they got home. She was scared."

He attacked her back at the house leaving her curled up in pain.

Ms Roberston stated: "He went on to a group chat set up by her colleagues and told her ‘by the way, you f*****g won', meaning an award.

"He then threw the phone across the room."

The woman bravely reported him to police in 2021. 

Alexander was by this time in HMP Kilmarnock but refused to leave his cell to speak to officers.

The court heard he already had another conviction involving the same woman.

As well as the two rape crimes, he also admitted assault, filming sexual activity while the woman did not consent, another of leaving her in fear and alarm as well engaging in abusive behaviour.

Lady Stacey told Alexander: "There has been a catalogue of you carrying out very nasty offences against the woman.

"Your actions have caused harm over a long period of years.

"You should be embarrassed to appear for charges like this."

Alexander will be supervised for a further three years on his release and was further hit with an indefinite non-harassment order banning him from contacting the woman.