A former Halifax PE teacher was found guilty of making indecent photographs of children.
Simon Irving of Railway street, Rochdale, admitted to two counts of the offence - which involved five level one images and two level two moving images.
The 31-year-old, who taught at the former Ridings school, will never teach or work unsupervised with children again.
The court was told that at the time of the offences the defendant was a PE teacher at King James’s School in Huddersfield and that the parents of one of the pupils, a girl about to turn 16, had grown concerned after learning that Irving wanted to take her out of school on a trip.
After looking at her phone they alerted the police who arrested the defendant on June 9, 2011.
Irving’s phone was then seized before police discovered deleted images which showed various still and moving images of different girls aged around 13 to 15 close up, naked, or performing sexual acts on themselves.
The court heard that the defendant had no previous convictions, that the images were for personal use and there was no evidence of any sort of online distribution.
During the hearing, Judge David Hatton QC said: “He’s very upset about it, he’s addressing his problem, he’s got himself another job and he’s lost his career and he’s a good character.”
The court was told that Irving had split from his partner who still lives in the marital home.
Sentencing, Judge Hatton said: “Simon Irving you are 31 years of age, you’ve pleaded guilty to two offences of making indecent photographs. You have no other previous convictions and none since.
“These offences are of some age, over two years of age.
“You are remorseful and ashamed. You’ve addressed what was then your difficulty or are seeking to do so. You’ve lost your career.”
Irving was sentenced to a 36 month community order, was required to attend a sex offenders programme under the supervision of the probation service and must also sign on the sex offenders register.