Joseph Allen Davis, 20, of Sacramento, was sentenced by U.S. District Judge Troy L. Nunley to 30 months in prison for being a felon in possession of a firearm, U.S. Attorney Eric Grant announced.