A substitute teacher in Texas was axed after recording pornographic videos of herself inside a classroom – and then uploading the footage to a commercial website, police and school officials said.

But the teacher, who worked at El Campo High School in southeast Texas for just three months, won’t face criminal charges for the footage after police consulted with the Wharton County District Attorney’s Office and determined there was no evidence of a crime, KPRC reports.

“We can’t a find a law that she violated,” El Campo Police Chief Terry Stanphill told the station.

The teacher appeared to be alone in the videos, roughly a dozen of which were recorded inside at least one classroom and a faculty workroom before later being uploaded to a public porn website, police and school officials said.

“It was always in a classroom or office when no one else was around,” Stanphill told the Houston Chronicle, adding that the teacher took steps to hide her actions. “I’ve been in law enforcement for 27 years, and this is the first time I have ever run into anything like this.”

District officials fired the teacher last week after a tipster sent one video to the school’s principal, KPRC reports. One student at the school told the station the teacher was a regular substitute for English classes and that her racy videos were being watched by many at the school.

The woman was not charged with public lewdness because no one else was with her when the videos were recorded last month, Stanphill said.

“The reason that they did not find evidence was because the suspect had closed the door and had clothes on and was not reckless about their conduct so that someone else could see them or be offended by it,” the police chief told the Victoria Advocate. “We have no case or report at this time.”

The El Campo Independent School District confirmed in a statement on its website that the teacher had been fired for the “improper criminal incident” that involved no other students or district staffers.

“The district has terminated the substitute’s employment and is seeking legal advice on this specific incident,” the statement read. “The district continues to hold the safety and well-being of our students and staff as our top priority.”

A message seeking additional comment from Stanphill was not immediately returned. District officials plan to issue a second statement regarding the former employee on Wednesday, KPRC reports.