A Cambridge elementary school teacher, who previously worked as a teacher in Somerville, was charged on Thursday for allegedly transporting child pornography.
Jason Wairi, 27, of Somerville, was due in federal court Thursday afternoon, according to the U.S. Attorney's office.
The investigation began with a computer tip in 2013 after Wairi allegedly shared files of child pornography. Federal authorities on Thursday acted on a search warrant for Wairi's apartment where he allegedly admitted to having hundreds of images of child pornography.
During an interview with authorities, Wairi allegedly admitted to secretly recording children changing in a locker room.
"During the course of the interview, Wairi admitted to secretly videotaping and using a camera cell phone to videotape children changing in and out of clothes on more than one occasion. He also admitted to setting up and hiding a video camera in a locker room in order to videotape children changing in and out of clothes," U.S. Postal Service Inspector Scott Kelley wrote in court documents.
Authorities also allege that Wairi posted an ad on Craigslist in which he offered his babysitting services.
Wairi's LinkedIn profile shows he has worked as a teacher in Cambridge Public Schools for nearly two years and previously worked as a teacher in the Somerville Public Schools for nearly three years.
A woman who answered the phone at the Cambridge Public School superintendent's office said he was not immediately available. A message left at the Somerville Public School superintendent's office was not immediately returned.
Follow Michael Naughton on Twitter @metrobosmike.