A RAPIST was snared after his victim secretly recorded him confessing to the crime.

Gary Rawlings attacked the 17 year-old girl at a flat in Thornliebank in late 2016.

She did not disclose her ordeal to anyone – but months later captured the 18 year-old on her mobile phone admitting what he had done.

This included Rawlings claiming he did not think the victim was “serious” when she told him to stop.

Rawlings has now been locked up for three years after he admitted rape at the High Court in Glasgow.

Judge Norman Ritchie QC told him: “Your belated admission (of guilt) spared her having to give evidence.”

He added what happened to the girl has had “long lasting consequences” for her.

It emerged Rawlings has already been hit with a lifelong Non-Harassment Order not to approach the teenager following separate court proceedings.

The court heard they went on to initially have consensual sex.

But, after a few moments, the girl told Rawlings: “Can we stop? I don't want to do this anymore.”

However, Rawlings still carried on for around 10 minutes.

The victim then said: “I told you to stop. I did not want to do it.”

Rawlings replied: “I'm sorry.”

Mr McVicar said the girl was left “upset”. She did not tell anyone at the time as she was “worried no one would believe her”.

It was last April when the victim and a friend were in Glasgow city centre that they then bumped into Rawlings.

He made a comment to her, but she ignored him and tried to walk away.

But, the court heard the girl then decided to record Rawlings on her phone “without his knowledge”

He then went on to admit to the sex attack.

The victim went to police after further “unwanted contact” by Rawlings.

She stated she had been raped and handed over the phone with the recording.

Greg Farrell, defending, said Rawlings was “heartfelt sorry” for what happened to the victim.