A man is starting four years in prison after a jury convicted him of voyeurism and distributing sexual videos of children.

They saw film of how Scott Spencer secretly set up a spy camera in a communal ladies' toilet to film women for his own sexual gratification and heard about the videos up to three hours long of children being sexually abused that police found at his home.

They also studied technical evidence at York Crown Court showing that he had sent illegal hard-core sexual films over the internet to others.

After the jury returned its unanimous guilty verdicts after 35 minutes in retirement, prosecution barrister Aisha Wadoodi told Judge Paul Worsley QC of the distress suffered by the women Spencer filmed when they were on the toilet after they found out what he had done.

"Today is the day of reckoning," the judge told Spencer. "You tried to put the day off by telling this jury a pack of lies. You tried to brazen it out."

The judge said of the illegal videos up to three hours long: "That is a huge amount of viewing."

He told Spencer children would continue to be sexually abused in front of cameras "as long as people like you, paedophiles, want to view the material."

Spencer, 40, who gave an address of Moorgate, Acomb, at an earlier hearing, denied two charges of voyeurism, one of distributing Category A indecent images of children and one of possessing 25 Category A indecent images of children.

He was jailed for four years, put on the sex offenders' register for life and made subject to a sexual harm prevention order curtailing his behaviour after his release from prison.

Category A is the most serious of three categories of indecent images of children.

For Spencer, Susannah Proctor said members of his family were standing by him.

During the trial, the court heard that Spencer had been well-respected.

Spencer claimed in the witness box that he had never had a spy camera and that someone else must have put the videos on the memory stick found at his home.

But the jury heard how he had been on spy camera websites and his computer had search terms showing he had been looking for illegal sexual videos of children.