Foreman High School on North LeClaire was placed on lockdown Friday while police investigated.
Officials say the teen is an admitted gang member who had been expelled from the school. Police said the weapon was a semi-automatic and the teen was trying to pass it to another student. Charges against the teen are pending.