delivered the opinion of the court:
On January 20, 1989, the respondent, David L. Fales, was adjudicated a sexually dangerous person. He was also ordered to pay $80 in court costs and a $25 “crime victims fund” fine. In August of 1991, Fales filed a recovery petition that was denied.
On appeal from the denial of his petition, Fales argues that the order for costs and the crime victims’ fund fine must be reversed because they are void. The State concedes that the orders for costs and the crime victims’ fund fine must be reversed. Accordingly, we reverse that portion of the trial court’s judgment.
Initially, we note that the imposition of costs was unknown at common law and is therefore totally a matter of statutory construction. (People v. Nicholls (1978),
With regard to the crime victims’ fund fine, the pertinent statute calls for a mandatory assessment “[w]hen any person is convicted *** of an offense.” (Emphasis added.) (Ill. Rev. Stat. 1991, ch. 70, par. 510(c).) Thus, a conviction is also a prerequisite for imposition of a crime victims’ fund fine.
Based on the foregoing principles, we find that Fales’ fine and costs order must be reversed. A prosecution under the Sexually Dangerous Persons Act (Ill. Rev. Stat. 1991, ch. 38, par. 105—1 et seq.) is not a criminal prosecution and does not result in a conviction. (People v. Allen (1985),
Parenthetically, we note that Fales’ argument may appear to be waived because he did not appeal the original judgment imposing the fine and costs. However, since the trial court lacked authority to impose the fine and costs, the order was void ab initio. Such an order may be attacked at any time. (In re T.E. (1981),
For the reasons indicated, Fales’ costs order and crime victims’ fund fine are reversed. The judgment of the circuit court of Fulton County is otherwise affirmed.
Affirmed in part and reversed in part.
BARRY and LYTTON, JJ., concur.
