A math teacher and basketball coach at Jackson Memorial High School was arrested on sexual assault and child endangerment charges, authorities said Monday.

William J. O’Neill, 53, also faces a charge of aggravated criminal sexual contact for the alleged abuse that involved a teenage victim and reportedly lasted from the summer of 2018, and continued through this year, according to the Ocean County Prosecutor’s Office.

The Jackson educator was being held at the county jail after his arrest Sunday night, the prosecutor’s office said in a statement. It was not yet clear if he had retained an attorney.

In a statement, the school district said O’Neill was suspended with pay as the investigation continued in line with state law. He is also barred from school property, according to officials.

“This is a police matter, which means the district is not at liberty to discuss it further. However, we do want our community to understand the strict policies and procedures we have in place to protect our students,” the school’s statement said.

“All district employees undergo a criminal history background check before they commence employment in the district to ensure they are free of any criminal record. The district is alerted immediately of any criminal charges. Those procedures were followed in this case,” according to the district’s statement.

Records show O’Neill earned a $70,532 salary.

The alleged offenses did not occur on school property, according to the district. Authorities did not say if the allegations involved the teacher’s position with the school district.

Officials said an investigating was continuing and asked anyone with information call the prosecutor’s office at 732-929-2027 or township police at 732-928-1111.

Noah Cohen may be reached at ncohen@njadvancemedia.com. Follow him on Twitter @noahyc. Find NJ.com on Facebook.