A 12-year-old Rancho Cucamonga boy was arrested and booked into juvenile hall on Friday on suspicion of threatening to shoot a student and shoot up a school, officials said Tuesday.

The student made these threats over Snapchat, according to the San Bernardino County Sheriff’s Department. School officials reported to the Sheriff’s Department that they received a voicemail the night before from a witness who claimed to see the threats over social media.

After an investigation, authorities said a 12-year-old boy was identified as the suspect, and he was arrested on suspicion of making criminal threats. He was booked into the San Bernardino Juvenile Hall.

The Sheriff’s Department didn’t immediately say what school was threatened, or if the boy was still in custody as of Tuesday evening. His name was not released.