A Doral Academy Prep teacher is accused of having a sexual relationship with one of her students, according to Doral police.

Desiree Cartin Rodriguez, 27, was arrested Friday on two counts of lewd and lascivious battery.

Police said they received a tip from an anonymous source earlier this week. From there, they brought in the student, a 15-year-old boy, who confirmed his relationship with Cartin Rodriguez and told investigators that he had videotaped some of their sexual encounters.

Detectives reviewed the footage and verified their identities.

Cartin Rodriguez was brought into the Doral Police Station Friday morning, where she confessed to the allegations, police said.

Jail records show she’s being held at Turner Guilford Knight Correctional Center on $7,500 bond.

Doral Academy Prep is a charter school run by the company Academica. The principal, Carlos Ferralls, sent the following message to parents.

“Our administrative team was made aware of an inappropriate situation involving a teacher and student. Immediately upon learning of this incident, action was taken. Law enforcement was contacted and the teacher was terminated immediately from her position at our school. We are not at liberty to discuss further details because of an ongoing police investigation. Keeping our children safe is our number one priority. Our safety protocols and procedures allowed us to address this situation quickly and with little disruption to our students or their class time. I appreciate your trust and support.”

In the past month alone in schools in Miami-Dade, one female teacher resigned amid allegations of an inappropriate relationship with an adult male student while another was sentenced to five years probation and forfeited her teacher’s license.

Miami Herald writer Carli Teproff contributed to this report.