A 14-year-old boy abducted a 20-year-old woman at knifepoint then forced her to strip naked and raped her on wasteland in Fife.
The boy, now 15, attacked the woman in Methil on January 29 2019. He cannot be named due to his age.
He has pled guilty to abducting the woman, putting a knife to her neck, threatening her and raping her.
Sentence was deferred at the High Court in Glasgow until next month.
Prosecutor Derick Nelson said the woman was walking in Kirkland Road, Methil, at about 8pm when the teenager threatened her with a knife.
The boy forced her towards a secluded area of waste ground in nearby Laird Avenue, where he raped her.
The court heard the woman had been walking towards shops when she noticed the teenager following her.
Mr Nelson said: “As she crossed the road, he ran towards her, placed his arms round her shoulders, held a knife to her neck and threatened to kill her should she not do as he asked.”
The court heard that she had tried to scream but the boy put his hand over her mouth.
He did this with such force he scratched her gums.
While he raped her he put the knife in his jacket pocket and the woman managed to grab it.
Mr Nelson said: “He immediately got to his feet and pleaded with her to give him back his knife, stating that he would not stab her.”
The woman ran off naked, screaming and carrying the knife.
She believed he initially gave chase but she managed to get help from two men working at a nearby garage and she shouted: “Help me, he’s going to kill me.”
The men gave her overalls to wear and dialled 999.
The court heard the woman was covered in cuts and bruises.
The boy was caught after police carried out door-to-door inquiries and showed photographs of the knife.
It was recognised by a relative of the teenager who said it had gone missing months ago. This led detectives to the accused.
Judge Lady Stacey placed the boy on the sex offenders register and deferred sentence until next month for background reports and a risk assessment of the danger he poses to the public.
The 15-year-old is currently detained in secure accommodation.