A Marion man has been sentenced to three years in state prison on weapons charges.

According to the Williamson County State’s Attorney’s Office, 21-year-old Brent Battles was arrested during a routine traffic stop in May of last year.

During the stop, officers noticed both cannabis and a loaded handgun in the car.

Battles, who already had a prior felony conviction for unlawful use of a weapon, pleaded guilty Monday to one count of aggravated unlawful use of a weapon and resisting a peace officer.