A social studies teacher is facing a federal charge that he sent sexually explicit text messages to a 16-year-old female student.

John Puglisi, a teacher at Newark Valley High School in Tioga County, is charged with one count of using a cell phone in an effort to engage someone younger than 18 in sexual activity.

A federal complaint says the 29-year-old teacher bought a phone for the student and began sending sexual text messages to her. "Naked photos please," reads one text.

Puglisi, who surrendered to police on Thursday, had been prohibited by his boss from communicating with the girl, according to the complaint.

Vincent Accardi, Puglisi's lawyer, declined to comment.