MIAMI (WSVN) - A middle school student is learning a hard lesson in the law after he brought a pellet gun to school.

The seventh-grader was in court on Friday, one day after a pellet gun was found in his backpack while at Brownsville Middle School in Northwest Miami-Dade.

The judge ordered the student to be detained at home and will now enroll in virtual school.

He is no longer allowed to attend Brownsville Middle.

The pellet gun was not loaded.

Copyright 2025 Sunbeam Television Corp. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

Join our Newsletter for the latest news right to your inbox