“I HOPE you’re thoroughly ashamed of yourself,” a judge told a man after he set up a spy camera and watched a woman having sex before sexually abusing her himself.

Nicholas Thomas, Fritwell Road, Somerton, near Bicester, was caught setting up a secret camera and filming a woman in her bedroom which later caught him touching her legs when she was drunk.

The camera also caught the 60-year-old sniffing her underwear and masturbating with one of her shoes.

READ MORE: Murder trial shown photos from woman's phone 'showing sexual interest in violence'

When police searched his home for the hidden camera, they also found him to be in possession of indecent images of children as young as nine.

Sentencing him to 12 months, suspended for two years, Judge Michael Gledhill said: “What you did was almost unforgivable.

“You are entirely responsible for the consequences on her – utterly innocent. I hope you are thoroughly ashamed of yourself.”

Opening the sentencing at Oxford Crown Court on Tuesday (February 13), prosecutor Sophie Stannard said the woman, who cannot be named for legal reasons, noticed a ‘red ring light’ in her room at about 2am.

She found a hidden spy camera on top of her drawers, plugged in with an extension lead. That same day, she reported Thomas to the police and he was arrested.

His home was searched and police found one moving Category A image of a child, two Category B moving images and six still Category C images.

READ MORE: 'Vodka bottle could have caused injury on man found in river', murder trial told

Internet searches for a spy camera were also found on his browser.

When footage from the spy camera was analysed, videos were found of Thomas setting up the device, sniffing the girl’s underwear and masturbating with one of her shoes.

He was also found to be moving her leg when she was drunk, telling her he was looking for injuries.

Thomas was charged with one count of voyeurism, one count of sexual assault and three counts of possession of indecent images.

In a victim impact statement read out in court, the woman said: “I am unable to sleep without lights on, I suffer from night terrors.

“It’s so uncomfortable and distressing. I’m trying to continue with my life. I’m experiencing anxiety everyday and it has been gruelling.

“I was so demoralising looking back. I’m so glad I found the camera that night and could put a stop to it.

“I will never forget what he has done.”

READ MORE: Scales of Justice: The latest cases from Oxford Magistrates' Court

The court heard Thomas has no previous convictions and had ‘not been actively searching’ for the images of children.

He has also been diagnosed with Autism Spectrum Disorder (ASD).

Thomas will need to complete 180 hours of unpaid work and 30 rehabilitation activity days.