Authorities say a man who gave a drug awareness lecture at an Ocean County high school sent nude photos to a female student.

Police on Friday charged 27-year-old William Egan of Asbury Park with child endangerment and obscenities to a minor. He's also accused of possession of a controlled dangerous substance.

The student had alerted Beachwood police.

Egan is held on $50,000 bail.

It's not known if he has a lawyer who can discuss the charges.

Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.