The former Cedar Rapids substitute teacher who had sex with a student has started her sentence.

Mary Beth Haglin, 26 of Cedar Rapids, was convicted of sexual exploitation by a school employee in December of last year. A judge sentenced her to 90 days in jail to be served in three different increments. The first part of that sentence will be 40 days.

Haglin had a sexual relationship with a 17-year-old student before, during and after her time as a substitute teacher at Washington High School in Cedar Rapids. That relationship lasted from 2015 to 2016. Through some miscommunication, she was able to continue to substitute teach while she was under investigation.

The scandal also caused three Cedar Rapids School District officials to resign, including longtime Washington Principal Ralph Plagman.

Haglin also has to spend 10 years on the sex offender registry. And will be on a special sentence of parole for a decade.