A school resource officer in Florida was fired after she was caught taking nude selfies in the school bathroom to send to her husband, a report said.

The unidentified officer with the Kissimmee Police Department took the nude video during a school day in December at the Imagine Kissimmee Charter Academy, according to Fox News.

The video shows the woman touching herself in an inappropriate manner and urinating while speaking to a person she refers to as her husband, the report said.

The Osceola County Sheriff’s Office discovered the illicit video earlier this year while investigating a domestic issue between the woman and her husband.

The restroom was locked at the time. But investigators said the incident could have delayed “any immediate response” in the event of an emergency.

The officer told investigators that she had been coerced by her husband to take the video.

“Sending the material did not affect the ability to perform my job; and it is imperative to note that no one was hurt because of my actions,” she wrote in a memorandum to the department’s deputy chief.