A janitor at a Pasco County high school is accused of sending nude photos of himself to a student.

Alex Baldwin, 24, was arrested Thursday after deputies said he sent five nude photos of himself to a 17-year-old student at Fivay High School.

Deputies say that between July and September, Baldwin sent the photos to the student using Facebook Messenger. Baldwin was working at the school at the time, and deputies say he knew the student was under the age of 18 at the time.

Baldwin was arrested on charges of transmission of material harmful to minors by electronic device or equipment. He was released from the Land O’ Lakes Detention Center after posting a $5,000 bond.