D.B.’s mother (defendant), a prostitute and heroin addict, surrendered D.B. for adoption when D.B. was five years old. Approximately four months later, the mother petitioned the State of Florida (plaintiff) to set aside the surrender. D.B.’s natural father (defendant) was not married to her mother and was in jail for burglary at the time. The father had never legally recognized his fatherhood of D.B. Both the mother and father sought custody of D.B. The trial court appointed a lawyer to represent the father and a guardian ad litem to represent the interests of D.B. In a separate case, the mother (defendant) was 16 years old and abandoned her nine-month-old baby, D.S., at the baby’s grandmother’s house. The Department of Health and Rehabilitative Services (plaintiff) sought temporary custody of D.S. The trial court appointed a lawyer to represent D.S.’s mother in the proceeding and appointed a guardian ad litem to represent the interests of D.S. In each proceeding, the trial court ordered the state to pay the attorney’s fees for the appointed lawyers. The State of Florida appealed.