D’Berry M. Coleman, 19, was sentenced to 6 1/2 years in prison for unlawful use of a weapon, after pleading guilty to having a handgun with a switch that made it fully automatic.