A 18-year-old was jailed for raping a young woman after his parents drove him to a police station and made him confess to detectives.
Jack Evans, 18, initially got away with the rape attack because his victim never made a complaint.
But the takeaway restaurant worker, from Pontypool, South Wales, apologised to her by text two months later and his parents saw the message admitting his guilt.
They took him to a police station where he admitted raping the teenage student, a court heard.
She was later traced by police and told them she was paid by Evans, whose father said after the hearing that his son “had to do the right thing and admit his guilt”, which had “caused quite a few arguments”.
Merthyr Tydfil Crown Court heard Evans would have escaped justice but for his father and stepmother telling him to confess.
Evans persuaded the woman to have sex with him in January last year but she changed her mind at the last minute, the court heard.
Prosecutor Claire Pickthall said: “He carried on anyway despite her telling him to stop and trying to push him off.
“She didn’t make a complaint but two months later Evans and his stepmother turned up at a police station to say what had happened.”
The victim, who was a virgin, said she was left feeling “worthless” and unable to trust men again.
Gareth Williams, defending, asked for a suspended sentence because of the “exceptional circumstances.”
He said: “It is extremely rare for anyone to admit to such a serious offence without there being a complaint.”
But Judge Tracey Lloyd-Clarke said there were aggravating features and Evans had to be locked up.
She told him: “Two months after the rape you apologised to your victim and said you understood why she was upset.
“But that text came came to the attention of your father and mother who took you to a police station.
“You told an officer your name and said you’d has sex with the young woman.”
Evans was 17 at the time of the rape but became an adult before he was charged with raping the woman.
He was sent to a Young Offenders’ Institute for two years after being given discount for his age and his guilty plea.
He was ordered to register as a sex offender for 10 years.
Evans mouthed “I love you” to his tearful mother Deniz Stewart as he was led to the cells.
His father Jonathan Evans, 47, and stepmother Sarah Morris, 47, waited outside the court because of social distances rules.
Software engineer Mr Evans said after the case: “I wanted him to tell the truth, he had to do the right thing and admit his guilt.
“It’s been difficult for all of us and it’s caused quite a few arguments.”