Today a judge granted a motion to move the trial for Mary Beth Haglin out of Linn County.

The former Washington High School substitute teacher will now have her trial in Tama County. The 24-year-old is charged with felony sexual exploitation, accused of having a sexual relationship with a 17-year-old student. It happened while she worked at the high school from January 1st to May 17th of this year.

Her lawyer argued the sheer number of articles written about Haglin, and the tone of some of them, demonstrated "actual prejudice" and prevent a fair trial in Linn County.

Haglin has appeared on episode of Dr. Phil, Inside Edition and Crime Watch Daily, as well as had interviews with local media outlets.

Haglin originally faced a lesser charge of sexual exploitation by a school employee, but prosecutors upgraded it after she did several TV interviews.

There was also a question about whether Haglin was considered a school employee. Judge Kevin McKeever also ruled on Wednesday she is considered a school employee.

Pretrial hearings are now in the works. If convicted, Haglin faces up to five years in prison.