City man is sentenced in firearms case