Felon gets 5 years for having a gun