HOUSTON (KTRK/CNN) - A school security officer is facing felony charges for reportedly taking videos of students in bathrooms.
Prosecutors say one of his alleged victims caught him red-handed.
On Monday, while at Houston Independent School District's Energized for Excellence Academy, a student reported he was using the restroom and saw something strange come over the stall.
"Then he looked up and observed a cellphone over his stall from the adjacent stall, either taking a photograph or a video recording him inside of his stall," said Patrick Stayton of the district attorney's office.
Prosecutors say the boy told a teacher he frantically dressed and got out of the stall to investigate.
"(He) looked in to the adjacent stall and had the door closed, but he stated he could see through the crack between the wall and the door, and could see the gold badge, the uniform and the black boots that he recognized to be of the school security officer," Stayton said.
Investigators say they interviewed the security officer assigned by a company working for school district.
He let them see his phone, and on it they say they found videos of several young boys that he'd attempted to delete in a recently deleted folder.
The officer, Yandry Rivero, has been charged with felony improper photography.
He's now out on bond, and the school terminated the security company for which he worked.
One of his alleged victims is believed to be 11 years old.
Copyright 2017 KTRK via CNN. All rights reserved.