LOWELL, Mass. (AP) — A Lowell man has been sentenced to 19 years in prison after pleading guilty to manslaughter in a 2004 shooting that authorities say was gang related.

Daniel Kung was sentenced Tuesday after pleading guilty last week to the June 2004 shooting death of 19-year-old Ponarith Uong.

A jury convicted Kung of second-degree murder and illegal possession of a firearm in 2010, but in 2013 the state Appeals Court overturned the murder conviction and ordered a new trial after ruling the trial judge erred by not instructing the jury to consider self-defense.

Kung said Uong tried to run him over and he pulled a gun and fired.

Prosecutors said Kung was the aggressor as he and fellow gang members chased Uong, who was shot inside his car after getting stuck in traffic.