A 52-year-old Lakewood High School teacher pleaded not guilty Wednesday to having a sexual relationship with a female student that spanned three years, according to the Los Angeles County District Attorney’s Office.

Mary Jahn of Lakewood was charged two weeks ago with nine felony counts including four counts of sexual penetration by a foreign object, three counts of lewd act upon a child and two counts of oral copulation of a person under the age of 18, officials stated.

Jahn, who was a teacher at Lakewood High at the time of the reported crimes, allegedly began having a sexual relationship with the 15-year-old student in July 2008, said Deputy District Attorney Troy Davis of the Victim Impact Program, who is assigned to the case.

Earlier this year, the now adult victim alerted authorities about the sexual abuse, officials stated, and after further investigation police arrested Jahn on September 13 in connection with the alleged crimes. She has remained jailed since then on a $750,000 bail.

Long Beach Unified School District officials said Jahn had been on leave since last May. They were notified of her arrest September 14.

“The alleged relationship occurred more than six years ago, and we are working closely with our law enforcement partners so that they can gather all the facts they need,” LBUSD spokesman Chris Eftychiou told the Post in an email. “The safety and well-being of our students is always our primary concern.”

If convicted of the charges, Jahn faces up to eight years and four months in state prison and will have to register as a lifetime sex offender. She is due back in a Long Beach courtroom October 13 to get a preliminary hearing date.

The case is being investigated by the Long Beach Police Department.

City News Service contributed to this report.

Stephanie Rivera is the community engagement editor. Reach her at [email protected] or on Twitter at @StephRivera88.