The 17-year-old does not attend Paint Branch High, and fled when questioned by security officers. He was later found with a gun in his bag.

SILVER SPRING, Md. — Police charged a 17-year-old as an adult with gun and trespassing counts for bringing a stolen, loaded handgun into a Montgomery County high school.

Officials from Paint Branch High School told police that an unknown male, who did not attend the school, had entered the building.

Montgomery County police said the suspect provided a fake name and student identification number, then fled. He was later identified as Elijah Nyamekye, 17, of Silver Spring.

Two Paint Branch High security officers, one of whom is also a county police officer, searched the neighborhood and saw Nyamekye walking on Briggs Chaney Road at U.S. Route 29. They placed him under arrest.

After the arrest, the school resource officer searched Nyamekye’s bag and found a loaded 38-caliber revolver. Police determined the weapon had been reported stolen in Pennsylvania.

Nyamekye was charged as an adult with possession of a handgun, possession of a firearm by a person under 21 years old, possession of a stolen handgun, trespassing on school property, and disrupting school activities.

He has been released on bond until his next court appearance, according to online court records.