Follow CBSMIAMI.COM: Facebook | Twitter

DADE CITY (CBSMiami/AP) — Teenagers often learn from their mistakes but in this case, the lesson could be very costly.

READ MORE: Doral Police ID Officers Injured In Friday's Shooting

Authorities say a Florida high school student was arrested after leaving a rifle in his truck.

A Dade City police news release says the 18-year-old student was arrested Friday morning and charged with possessing a weapon at a school.

Officers say an administrator at Pasco High School was conducting a routine parking lot sweep and spotted shotgun shells in the truck’s bed.

READ MORE: Six People Hospitalized Following Boat Explosion In Dania Beach

The administrator then looked in truck’s window and saw a gun case on the seat.

Contact was made with the student, and the case was opened, revealing and AR-15 rifle and ammunition.

Police say the teen had no prior disciplinary issues, and the school was never under any sort of threat.

MORE NEWS: Florida Is Ditching Palm Trees To Fight Climate Crisis

(© Copyright 2018 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)