Man gets 10 years for weapon, theft conviction