Published: Nov 19, 2011 12:04 AM EST

TALLAHASSEE, Fla. (AP) - Juveniles convicted as adults cannot be sentenced in Florida as habitual violent offenders.
    
The 1st District Court of Appeal issued that ruling Friday in the case of Kirby Sylvester Shingler.
    
He was 16 when convicted in Pensacola of armed robbery and related crimes in 1991.
    
Shingler initially got a life sentence as a habitual offender.
    
The U.S. Supreme Court, though, last year ruled in a Jacksonville case that juveniles cannot be sentenced to life for crimes other than homicide.
    
A judge then resentenced Shingler to 40 years in prison, again as a habitual violent offender.
    
The appellate court disallowed the sentence because the only penalty allowed for such offenders is life. That, though, conflicts with the Supreme Court decision.
    
Singler must be resentenced again under guidelines with a 22-year maximum.

(Copyright 2011 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)