A 39-year-old man was sentenced in federal court after he was convicted of illegally possessing firearms and ammunition.