PROVIDENCE, R.I. — A Rhode island gang member has been sentenced to 30 years in prison for his role in a drive-by shooting of rival gang members that left one man seriously injured.

Nathan Tek, of Pawtucket, was sentenced Thursday after pleading guilty to a variety of charges including assault with a dangerous weapon in the Jan. 9 shooting near the Providence County courthouse.

Prosecutors say the 19-year-old Tek was one of several men in a vehicle that pulled alongside another vehicle at about noon on the day of the shooting. Tek and another man then opened fire, injuring the driver of the other vehicle.

Tek was one of six men indicted in connection with the shooting, but the first to plead guilty. The others are scheduled for trial in November.