By CBS13 Staff

STOCKTON (CBS13) — A student at Franklin High School in Stockton was found with a loaded gun in his jacket while on campus Wednesday, officials said.

Shortly after noon, the student was caught vaping in class and was sent to the principal’s office, according to the Stockton Unified School District Police Officer’s Association.

READ MORE: Sacramento Valley Chorus To Take Part In 80th Anniversary Of Pearl Harbor Attack In Hawaii

When the student became uncooperative, the school resource officer was called in to assist with a search of the student. The student removed his jacket and handed it over to a campus security monitor, who noticed a heavy object inside one of the pockets, officials said.

READ MORE: Stockton Police Investigate Multiple Thursday Robberies

The school resource officer then searched the jacket and retrieved a loaded handgun. A spare, loaded magazine was reportedly also found in the student’s backpack.

MORE NEWS: Tokayana Fire In Colfax Burns Through Vegetation and One Dog House

The student was arrested and booked into juvenile hall, officials said.