A Louisiana teacher accused of having a threesome with a teen student and another teacher was found not guilty.

Shelley Dufresne, a former Destrehan High School teacher, was acquitted Wednesday afternoon of two counts of carnal knowledge of a juvenile, according to the Times-Picayune.

Prosecutors accused the 34-year-old teacher of having a month-long affair with a 16-year-old student in her English class at the school in Kenner, Louisiana.

The male student, now 19, testified that his tryst with Dufresne began when she messaged him on Facebook in August 2014.

He claimed the pair had sex on multiple occasions, including an illicit romp with another former Destrehan High School teacher, 26-year-old Rachel Respess.

“All three of us were in bed together,” the teen testified. “We all started having sex.”

The judge’s decision comes after a two-day trial in Jefferson Parish, Louisiana. For the trial, the former teacher waived her right to a jury.