
    David PEREZ, Appellant, v. The STATE of Florida, Appellee.
    No. 3D03-1549.
    District Court of Appeal of Florida, Third District.
    Feb. 4, 2004.
    David Perez, in proper person.
    Charles J. Crist, Jr., Attorney General, and Linda S. Katz, Assistant Attorney General, for appellee.
    Before COPE, GODERICH, and FLETCHER, JJ.
   CONFESSION OF ERROR

PER CURIAM.

David Perez appeals from the trial court’s order denying his motion pursuant to Florida Rule of Criminal Procedure 3.800(a), to apply credit for time served in prison to his new period of incarceration after revocation of community control. The state concedes that the motion should have been granted in part and our review of the record supports that conclusion. We therefore vacate the trial court’s order and remand the cause with directions to grant Perez credit for all time served in prison and in county jail prior to being sentenced to his current period of incarceration.

Vacated and remanded with directions. 
      
      . Credit should be granted for the time Perez spent in prison, and not for the time he spent under house arrest. See Fernandez v. State, 627 So.2d 1 (Fla. 3d DCA 1993), rev. denied, 639 So.2d 977 (Fla. 1994).
     
      
      . The state has indicated that it will obtain from the Department of Corrections verification of the actual time Perez spent in prison so that the proper credit will be applied.
     