An Orange County high school teacher who’d had an extremely long affair with a 15-year-old female student has now been sentenced to six months in jail.

37-year-old Rebecca Diebolt was sentenced Friday, and has also been ordered to register as a sex offender for life.

She’d pleaded guilty back in January to sex acts with a minor.

She’d been a language arts teacher, along with a swimming and water polo coach at Valencia High School.

She started the sexual relationship with the female student back in 2004, and it continued for four years, when the victim was in college.

That victim reported the acts to authorities in 2014.