Authorities say on Monday, they were informed of the anonymous threat on Yik Yak, a social media app. Police say the student threatened to bring the gun to school after spring break.
Investigators secured search warrants and were led to a 16-year-old student. He was arrested on Wednesday and booked into Juvenile Hall.
Police are urging parents to monitor their children's activity on social media.