A Pickens High School student is in custody over an apparent pipe bomb, the Pickens County Sheriff's Office said.

Charges are pending after authorities said they responded to a suspicious device, which appeared to be a pipe bomb, Wednesday around 4:30 p.m. at the student's residence.

Investigators believe the student had the device, which was deemed an explosive, on school property earlier in the day.

Law enforcement officials, working with the Pickens County Board of Education, searched the school and pronounced it safe for everyone to return Thursday.

Extra deputies will be on hand, the sheriff’s office said.

The investigation is continuing.