SANTA ANA (AP) — A gang member has taken a plea deal for the 2004 killing of a rival after an earlier conviction was set aside over concerns that prosecutors failed to share critical evidence with the defense.

City News Service reports Thursday that 34-year-old Leonel Vega pleaded guilty to voluntary manslaughter and was sentenced to 15 years in prison in the shooting death of 17-year-old Giovani Onofre.

READ MORE: Thousands Attend Procession Carrying Remains Of 20-Year-Old Lance Cpl. Kareem Nikoui, Killed In Kabul, To Riverside Mortuary

His lawyer says he expects to be freed from prison in about four years.

READ MORE: Robert Durst, New York Real Estate Scion, Convicted Of 1st Degree Murder In Death Of Longtime Friend Susan Berman

Vega had previously been sentenced to life without parole for the killing.

His conviction was vacated last year after concerns arose over the use of jailhouse informants and the failure of Orange County prosecutors to disclose evidence to the defense in several high-profile cases including that of salon shooter Scott Dekraai.

MORE NEWS: Stars Show Out To Celebrate Emmy Nominations Ahead Of Big Show

(© Copyright 2015 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)