A primary teacher's secret perversion for filming women's legs and bottoms was revealed after he accidentally posted footage onto his school's IT system.
Andrew Winkworth, 45, recorded his victims as they were out walking, often targeting those 'wearing tight clothing'.
But the tawdry vice was uncovered when another teacher discovered 'graphic' footage on an internal server at Worlingham Church of England Primary School, near Beccles in Suffolk.
The member of staff had been looking for a recording of a school performance the previous week and Winkworth, who was off that day, told the office it was on the system.
When the colleague accessed his account, they found his sickening downloads folder.
It later emerged that the disgraced PE teacher had linked his personal Google account to school-issue iPads.
Nothing inappropriate was stored on any iPads but Winkworth is believed to have used them to access the content on his Google account.
Fellow employees identified him as the person who shot the covert footage as the videos showed shoes he wore and featured 'the legs of an adult, athletic male'.
Suffolk Police's safeguarding team carried out an investigation but found no evidence of criminality.
So-called 'upskirting' was made a criminal offence in England and Wales in 2019 but this involves recording images beneath clothing to view underwear or private parts without the individual's consent.
Winkworth's case was referred to the Teaching Regulation, however, where a misconduct panel has now ruled that he should be banned from teaching indefinitely.
In a report, it said: 'The panel noted that some of the videos showed women who appeared to be accompanied by children, including footage of a women walking with a young child, and of a young girl walking alongside an adult.
'The panel also noted that in some videos, the individuals filmed appeared to be young females.'
Filming women in public places, including in situations where children were present, was inappropriate and fell below the standards expected of a teacher, the panel concluded.
Winkworth, who had been a teacher for 19 years including ten years at Worlingham Primary School where he was head of PE and worked with Years 5 and 6 pupils, shot the videos in Norwich between August 2020 and January 2022.
The footage was found in March 2022 and he was reported to the headteacher, leading to him being suspended and then dismissed in September that year.
The shamed teacher was head of PE at Worlingham Church of England Primary School near Beccles in Suffolk
In a statement to the misconduct hearing, he admitted that he took the videos - including one that lasted more than ten minutes - for sexual gratification.
But he said he 'loved being a teacher' and believed he 'could continue to be a successful and well-regarded member of the profession'.
He also described what he had done as 'unusual and unacceptable' and insisted that he 'no longer engaged in such behaviour'.
The panel, which didn't receive any testimonials from pupils, parents or schools to prove exceptional professional standing, imposed the prohibition order, saying the misconduct was 'particularly serious'.
Winkworth can apply for the order to be lifted in four years' time but the matter would have to be considered by another panel.