CLOVIS, N.M. — A New Mexico Supreme Court ruling reduces a man’s sentences for killing of a young boy in Curry County but a prosecutor says she’s satisfied the 38-year-old inmate still must spend decades behind bars.

The state high court’s ruling Thursday reduces Noe Torres’ sentence to life plus 31½ years to life plus 21½ years, and District Attorney Andrea Reeb told the Eastern New Mexico News that it’ll be at least 47 years before Torres could be eligible for parole.

Torres was convicted in the 2005 shooting death of 10-year old Carlos Perez. According to authorities, the boy’s older brother was the intended victim.

The court’s ruling cited protections against double jeopardy in overturning two of Torres’ several convictions. It also erased an habitual offender enhancement of his sentence.