Appellant timely appeals his conviction and life sentence for first degree murder.
We have examined the record, and find that there was substantial, competent evidence to support the verdict. We have also considered appellant’s objection to a comment made by the prosecutor during closing argument, and find no error.
Appellant also complains that he was sentenced without being given credit for time served as prescribed in Fla.Stat. § 921.161(1) (1975). The state argues that inasmuch as appellant has been sentenced to life imprisonment it is irrelevant whether he receives credit for time served. We disagree. Appellant was sentenced in accordance with Fla.Stat. § 775.082(1) (1975). He therefore is required to serve no less than 25 years before becoming eligible for parole. Credit for time served prior to sentencing may be applied against this minimum 25 years that appellant must serve.
We vacate the sentence and remand with instructions to resentence defendant giving him credit for time served in the county jail.
Affirmed in part, reversed in part, and remanded with directions.
WALDEN, J., concurs.
CROSS, J., dissents, with opinion.