BERKELEY — A middle school math teacher has been charged with performing an indecent act in front of a student on school grounds.

Joshua Eckersley, 33, surrendered to authorities on Thursday on charges of child endangerment and lewdness.

Ocean County prosecutors provided few details abut the charges but said that a student witnessed Eckersley's lewd behavior on Jan. 12 — a Sunday — while on school property.

The student later reported the incident to authorities, prosecutors said.

Eckersley is employed by the Central Regional school district.

New Jersey 101.5 was not able to reach an attorney for Eckersley on Thursday evening.

Enter your number to get the NJ 101.5 app

Sergio Bichao is deputy digital editor at New Jersey 101.5. Send him news tips: Call 609-359-5348 or email sergio.bichao@townsquaremedia.com.

Sign up for the NJ1015.com Newsletter

Get the best of NJ1015.com delivered to your inbox every day.