A Salisbury man has been sentenced to spend six and a half years in jail after pleading guilty to possessing a stolen gun.