ESCONDIDO, Calif. - A student was taken into custody Thursday morning after sheriff's officials said he detonated a homemade explosive device at San Pasqual Academy.

The incident happened at the Escondido school at around 9:15 a.m., according to county spokesperson Michael Workman.

Sheriff's officials said the 15-year-old boy created the device out of toilet bowl cleaner and aluminum foil, and then placed the contents inside a plastic soda bottle.

According to officials: "A teacher/staff member observed it and picked it up. The teenage suspect warned the staff member to get rid of it, as it would explode. The bottle was tossed into nearby bushes and a few minutes later the device exploded."

No one was hurt in the blast. Sheriff's officials did not disclose the exact location on campus where the detonation occurred.

The school was temporarily locked down, and students were assembled into the auditorium and briefed on the incident.

San Pasqual Academy is a residential campus for foster teens and the suspect likely resides there, Workman said.

The boy was arrested on suspicion of possession of a destructive device. He was booked into county Juvenile Hall, officials said.

The Escondido Fire Department and sheriff's deputies conducted a sweep of the campus, but no further threat to the school was found, Workman said.

San Pasqual Academy serves about 184 foster teens who live and learn on campus.