Edgewood High School staff found a loaded firearm in a student’s locker on Friday, according to the Harford County Sheriff’s Office.

Staff discovered a Walther PK380 handgun while conducting an administrative search in response to the odor of marijuana, deputies said.

The gun appeared to be loaded with ammunition, too, according to authorities.

The student “will be waived to adult status for purposes of prosecution” due to “the seriousness and potential danger posed by” their actions, deputies said.