Felon with a firearm sentenced to 10 years on two charges