Background: Sean Hogg sentencingpublished at 12:20 British Summer Time 20 April 2023
There was widespread anger after a 21-year-old man - who raped a 13-year-old schoolgirl in a park when he was 17 - avoided a prison sentence.
Sean Hogg attacked the girl in Dalkeith Country Park, Midlothian, on various occasions between March and June 2018.
Judge Lord Lake said that if the rape had been committed by an adult over 25, Hogg would have received a jail sentence of four or five years.
Instead he was ordered to do 270 hours of unpaid work.
The case caused controversy with rape victims condemning the sentence.
New guidelines for sentencing under 25s were introduced in Scotland in January 2022.
They made rehabilitation rather than punishment a primary consideration, recommending an "individualistic approach" taking into account their life experiences.
His victim, who is anonymous to protect her identity, has spoken about how the rape and the subsequent sentence, has affected her.
In a statement, she said she was diagnosed with PTSD, suffered from panic attacks and self-harmed on a daily basis following the attacks.
Read more: Teenager living in fear after rapist Sean Hogg walked free