This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

HAHNVILLE, La. — A former Louisiana high school teacher admitted to having sex with a 16-year-old student, but avoided jail time with a plea deal.

Shelley Dufresne, 32, was originally charged with carnal knowledge of a juvenile, a charge that carries a potential 10-year jail sentence and mandatory registration as a sex offender.

By accepting the plea deal Thursday, Dufresne was sentenced to three years in prison which was deferred, a three years active probation and she must pay a $1,000 fine, according to WGNO.

The victim in the case said the sex was consensual. Authorities believe it happened at some point between Aug. 22 and Sept. 22 in 2014.

After leaving court on Thursday, Dufresne apparently posted on Instagram a picture of her smiling with the caption “my mood today,” followed by three smiling faces, according to WVUE.

As part of her probation, Dufresne agreed to not contact the victim or his family, give up her teaching license and enter into a 90 day inpatient facility for mental health treatment.

If Dufresne fails to complete her probation, she could be prosecuted on the carnal knowledge charge.

Dufresne and another former teacher, Rachel Respess, still face charges in Jefferson Parish, where they are accused of having a threesome with the same victim in Respess’ apartment. The accusations made global headlines when they came to light last fall.