Relying on Tripp v. State, 622 So.2d 941 (Fla.1993), and State v. Green, 547 So.2d 925 (Fla.1989), we reverse the trial court’s denial of relief to correct an illegal sentence. On remand, the court shall correct the sentence to credit time served in accordance with Tripp and Green.
DELL and SHAHOOD, JJ., concur.