TOMS RIVER (AP) - A southern New Jersey school teacher who had a sexual relationship with a 15-year-old student has been sentenced to six years in state prison.

Ocean County prosecutors say 32-year-old Erin Haskell of Barnegat also will be subject to lifetime parole supervision and must register as a sex offender under the sentence imposed Monday. She had pleaded guilty last August to sexual assault.

Haskell was a Spanish teacher with the Toms River Regional school district. She worked at the Intermediate South school in Beachwood, where she also served as faculty adviser to the drama club.

Authorities have said the relationship took place in 2012, between June and September. The sexual activities occurred in both Beachwood and Barnegat.