Richard Arthur Oldham, a York teacher faces jail after admitting sex assaults on boy pupils.
A teacher has pleaded guilty to 23 sex crimes over eight years including a series of sexual assaults on pupils.
Richard Arthur Oldham, 31, who has taught in at least three York primary schools, now faces a jail term and the end of his career.
His crimes included three of voyeurism where he secretly filmed children performing private acts so he could get sexual pleasure from watching them, 13 of making indecent photographs of children, one of possessing 2,076 indecent images of children and six offences of sexual assaults on boys.
The offences began with voyeurism between 2004 and 2006, continued with the indecent images between 2006 and 2012 and culminated in him sexually abusing two boys between 2010 and September 2012
Oldham, now living in North Tamerton, Holsworthy, Devon, was released on bail on condition he stays out of York, has no unsupervised contact with children, observes an eight-hour nightly curfew and does not get travel documents.
He will return to Leeds Crown Court on September 16 to learn his sentence and how his activities will be restricted once he has served his punishment. He was also put on the sex offenders register and banned from working with children.