ALFRED (NEWS CENTER Maine) — A former Kennebunk High School teacher facing several charges in connection with a sexual assault case of a student is asking a judge to exclude cell phone texts from her upcoming trial.

Jill Lamontagne of Kennebunk allegedly had a relationship with a 17-year-old male student while she was a teacher at his school.

According to the Journal Tribune, Lamontagne's attorney filed a motion to exclude photos of text messages calling their credibility into question.

The 29-year-old woman turned herself into police in October 2017 after being indicted by a York County Grand Jury on a total of 14 counts of sexual misconduct including six counts of gross sexual assault, six counts of sex abuse of a minor and two counts of unlawful sexual contact.

RSU 21 Superintendent Katie Hawes announced in June 2017 that Lamontagne was being placed on leave during an investigation. Lamontagne had worked at the school district since 2013.

The mother of two is accused of engaging in a number of sex acts with the teen in a classroom, in a car and at her home.

Attorney Scott Gardner said Lamontagne "categorically denies the charges," according to the Journal Tribune.

Gardner says, "The allegations arise from a high school rumor resulting from the fantasies of a (then) 17-year-old student."

The motion states the reason Lamontagne wants the images of text messages to be excluded because of the "ease at which the identity of a text message sender can be manipulated and the simplicity of deleting portions of the message."

Lamontagne also asserts that the photos of the text messages are not the "original writings."