A man was sentenced to 28 years in prison on Jan. 8 after pleading guilty to several charges surrounding a shooting in Gaston.