
    The STATE of Florida, Appellant, v. Wayne FLEMMINGS, Demetric Landers, Eddie Moore, Andrew Brinson, Appellees.
    Nos. 90-1798, 90-1805, 90-1811 and 90-1812.
    District Court of Appeal of Florida, Third District.
    May 7, 1991.
    Robert A. Butterworth, Atty. Gen., and Avi Litwin, Asst. Atty. Gen., for appellant.
    Bennett H. Brummer, Public Defender, and Robert Kalter and Jeffery P. Raffle, Asst. Public Defenders, for appellees.
    Before NESBITT, BASKIN and GODERICH, JJ.
   PER CURIAM.

Claiming defendants were ineligible to be sentenced as youthful offenders, the state appeals the sentences ordered in the instant cases. We reverse.

The defendant juveniles were charged with and pled guilty to attempted murder with a deadly weapon and, over the state’s objection, sentenced under the Youthful Offender Act. According to section 958.-04(l)(c), Florida Statutes (1989), that act specifically excludes persons found guilty of life felonies. Where a firearm is employed in an attempted murder, as in the instant case, the offense is reclassified to a life felony. § 775.087(1), Fla.Stat. (1989). Therefore, the trial court erred in sentencing these defendants as youthful offenders.

Accordingly, the convictions and sentences are reversed with directions that on remand defendants be permitted to withdraw their pleas as they were made based upon the illegal sentences promised.

Reversed and remanded.  