YUBA CITY (CBS13) — Two 14-year-old boys were arrested for carrying a gun and loaded magazine on school grounds, the Yuba City Police Department said on Wednesday.

Shortly after 10:30 a.m., Yuba City High School officials were notified by a student that another student had a gun in his backpack. The witness pointed the student out to the police department’s school resource officer, who quickly detained the student.

READ MORE: Wednesday's Show Info. (6/29/22)

According to Yuba City police, the student admitted he had a 9mm Smith and Wesson and a loaded magazine in his backpack and handed them over to the officer. The student said he had no intentions of using the gun and was asked by another student to hold onto it. The student who had the gun in his bag told the officer the student who gave him the gun also had a loaded magazine in his possession.

READ MORE: Stockton Police Release New Video, Hoping To Crack 2017 Homicide Cold Case

The other student was located and also admitted to having the loaded magazine in his bag, police said. This student also said he had no intention of using the gun and only asked the other student to hold onto it because he didn’t want to carry it for the day.

MORE NEWS: Tuesday's Show Info. (6/28/22)

The parents of both 14-year-old boys were called to the school to speak with authorities. Soon after, both boys were booked into juvenile hall on charges of carrying a gun on school grounds and carrying a concealed weapon.