A California woman told a court that her former high school English teacher sexually abused her for years — and even carved her initials into the then-teen’s hip, according to a report.

The former Lakewood High School student, who was not identified, on Tuesday described how Mary Jahn, now 52, started having sex with her in 2009, when she was 15, the Press-Telegram reported.

She testified that Jahn took an interest in her after the student wrote an essay about her romantic attraction to a girl online.

The now-24-year-old woman said Jahn sexually abused her for four years, introducing acts that included bondage, flogging and hot wax and that she carved her initials into her hip.

The former student started distancing herself from Jahn when she turned 19 and went to the police last May, after confiding in a friend.

“The more that I talked, the less that I could defend her any more and the more I started to see things clearly,” she said.

Police arrested the married teacher and mom of two in September. She is charged with four counts of sexual penetration by a foreign object, three counts of lewd acts upon a child and two counts of oral copulation of a person under 18.

She has adamantly denied all the accusations, according to her attorney, Leonard B. Levine.

Still, the former student’s testimony led a judge to rule Tuesday that there is enough evidence to continue toward a full trial.

Jahn could face up to eight years and four months in state prison if convicted.

She taught at Lakewood High from 2006 until May of last year, when she was put on leave.

A friend of the abused student said she went to the district in 2015 after hearing about the accusations against Jahn.

But the student testified that she wasn’t ready to talk at that time and the school district dropped the complaint when Jahn denied any wrongdoing.

Jahn remains on leave from her teaching job, a school official confirmed to the paper. She was originally held on $750,000 bail but is now free on bond.