RACINE — A Horlick High School student is accused of bringing a BB gun and marijuana to school on Friday with the intention of selling the drug at the end of classes that day.

Roman A. Espinoza, 17, of the 1800 block of Green Street, Racine, was charged Monday as an adult with a felony count of possession with intent to deliver or manufacture marijuana and a misdemeanor count of possession of dangerous weapons on school premises.

According to the criminal complaint:

The school’s principal confronted Espinoza after an anonymous tipster reported that the student smelled like marijuana. The student reportedly showed the principal the drug, which was in an Altoids mint container. Espinoza then allegedly told both the principal and later a Racine police officer that he planned to sell the drug to anyone who might need it after school.

When police searched his backpack, they allegedly found a CO2-powered BB gun that looked like a semi-automatic handgun.

Espinoza reportedly told police that he brought the gun to Horlick because he planned to shoot it at some bottles after school.

A preliminary hearing in the case is set for 8:30 a.m. on Nov. 29. Espinoza was still in custody at the Racine County Jail as of Monday night.