delivered the opinion of the court:
Following the entry of a guilty plea, the defendant, Deon Mathis, was convicted of possession of a controlled substance with intent to deliver and sentenced to 18 months of probation. The defendant subsequently filed a petition to vacate the judgment pursuant to section 2 — 1401 of the Code of Civil Procedure (735 ILCS 5/2 — 1401 (West 2002)). The circuit court granted the petition and vacated the judgment entered on the guilty plea. On denial of reconsideration, the State now appeals, contending that: (1) the circuit court lacked subject matter jurisdiction to grant section 2 — 1401 relief; (2) the petition improperly asserted a legal argument rather than errors of fact; and (3) the circuit court erred in applying Public Act 92 — 665 (Pub. Act 92 — 665, eff. January 1, 2003) retroactively to the defendant’s case. For the reasons that follow, we reverse the circuit court’s order granting the defendant’s section 2 — 1401 petition and remand this cause with directions.
The defendant was charged with possession of a controlled substance with intent to deliver within 1,000 feet of a school (count No. 1) and possession of a controlled substance with intent to deliver (count No. 2). The defendant was 15 years old at the time of the offense. Because of his age and the nature of the first charge, the defendant’s case was automatically transferred from juvenile court to criminal court pursuant to section 5 — 130(2) (a) of the Juvenile Court Act of 1987 (Act) (705 ILCS 405/5 — 130(2) (a) (West 2002)).
On April 26, 2002, the defendant agreed to plead guilty to the charge of possession of a controlled substance with intent to deliver in exchange for the State’s dismissal of the remaining charge and a recommendation of 18 months of probation. Because the charge of possession of a controlled substance with intent to deliver did not, by itself, trigger application of the automatic transfer provision in section 5 — 130(2)(a) of the Act, defense counsel stated that the defendant would be “waiving juvenile jurisdiction” so that the matter could proceed in criminal court. Defense counsel also stated that he had explained to the defendant the ramifications of waiving his right to have the matter heard in juvenile court, that the “recommended sentence was for 18 months probation,” and that the defendant still wanted to enter a plea of guilty. Before accepting the defendant’s guilty plea, the court asked the defendant’s mother if she agreed with the offer that was made “[Realizing that this would be an adult conviction” to which she answered in the affirmative. The following colloquy then took place:
“THE COURT: All right. There were 2 charges against you. The prosecutor is going to drop the first count against you, which is a higher class of offense. That was a Class 1, and they are going to dismiss that count, and proceed on Count 2.
Is that your understanding?
THE DEFENDANT: Yes, ma’am.
THE COURT: All right. And Count 2 requires you to waive juvenile court jurisdiction over this matter. Is that what you want to do?
THE DEFENDANT: Yes, ma’am.
THE COURT: All right. And your attorney explained to you all of what that means; is that right?
THE DEFENDANT: Yes, ma’am. That this is a — considered an adult conviction.”
The court acknowledged that the defendant “waives juvenile jurisdiction,” accepted his guilty plea, and entered judgment thereon. The matter proceeded to sentencing and the defendant was sentenced to 18 months of probation.
On July 18, 2002, while on probation, the defendant was charged with possession of a stolen motor vehicle. Predicated on this charge, the following day the State filed a petition for violation of probation.
On June 27, 2003, the defendant filed a petition pursuant to section 2 — 1401 of the Code of Civil Procedure (Code) (735 ILCS 5/2— 1401 (West 2002)), styled as a “motion to vacate judgment.” The defendant contended that Public Act 92 — 665, which became effective on January 1, 2003, should apply retroactively to him and, therefore, the judgment entered on his guilty plea should be vacated. Public Act 92 — 665 added the following language to section 5 — 130 of the Act:
“(10) If a minor is subject to the provisions of subsection (2) of this Section, other than a minor charged with a Class X felony violation of the Illinois Controlled Substances Act, any party including the minor or the court sua sponte may, before trial, move for a hearing for the purpose of trying and sentencing the minor as a delinquent minor. To request a hearing, the party must file a motion prior to trial.” Pub. Act 92 — 665, eff. January 1, 2003 (amending 705 ILCS 405/5 — 130 (West 2000)).
Following arguments, the circuit court granted the defendant’s section 2 — 1401 petition and vacated its judgment of April 26, 2002. Thereafter, the State filed a motion to reconsider, which the circuit court denied. This timely appeal followed.
The State first contends that the circuit court lacked subject matter jurisdiction to vacate the judgment entered on the defendant’s guilty plea because the defendant, although properly admonished, failed to first file a motion pursuant to Supreme Court Rule 604(d) (188 Ill. 2d R. 604(d)) to withdraw his guilty plea and vacate the judgment within 30 days of the date on which the sentence was imposed. In other words, the State argues that the defendant was required to withdraw his guilty plea before filing a section 2 — 1401 petition in the circuit court and his failure to do so rendered the circuit court’s order granting such relief void. We disagree.
Supreme Court Rule 604(d), requiring that a defendant wishing to appeal from a judgment entered upon a guilty plea must first move within 30 days to withdraw the plea and vacate the judgment, applies only to direct appeals. 188 Ill. 2d R. 604(d); see People v. Flowers,
Section 2 — 1401 of the Code is a comprehensive statutory procedure by which final orders and judgments may be challenged more than 30 days after their entry and its remedial powers extend to criminal cases. People v. Pinkonsly,
Failure to comply with Rule 604(d) prevents a defendant from perfecting a direct appeal from a judgment entered on a guilty plea. “But the rule does not purport to do more than that.” People v. Parker,
The State next contends that the circuit court erred in granting the defendant’s section 2 — 1401 petition because he failed to allege any errors of fact and instead made a legal argument, namely, that the amendment contained in Public Act 92 — 665 should be applied retroactively. The State acknowledges that it failed to raise this issue in the circuit court, but urges us to review the issue under the plain error rule. Waiver aside, we will address the State’s contention in this regard.
Recently, our supreme court in People v. Lawton,
Because the defendant in the instant case was not imprisoned and is not asserting a substantial denial of his constitutional rights (see 725 ILCS 5/122 — 1(a) (West 2002)), like the defendant in Lawton, he cannot seek relief under the Post-Conviction Hearing Act. Further, heeding our supreme court’s direction to construe section 2 — 1401 liberally when necessary to achieve justice, we believe that under the particular circumstances of this case the defendant was entitled to raise his claim by the only means available, a section 2 — 1401 petition.
Next, the State contends that the circuit court erred in applying the amendment contained in Public Act 92 — 665 retroactively. It argues that the legislature did not intend for the amendment to apply to a defendant who had already been convicted because the plain language of the amendment requires that a pretrial motion be filed. To this end, the defendant readily acknowledges that the amendment requires the filing of a pretrial motion. He argues, however, that he “did not have the opportunity to file such a pre-trial motion, as the reverse transfer provision was making its way through the Illinois legislature in HB 4129 at the time of his plea.” For the reasons that follow, we agree with the State on this point.
The defendant’s case was automatically transferred from the juvenile court to the criminal division of the circuit court pursuant to section 5 — 130 (2) (a) of the Act, which states that, if a minor is charged with possession of a controlled substance with intent to deliver within 1,000 feet of a school, and was at least 15 years old at the time of the offense, he must be criminally prosecuted for that offense and all other charges arising out of it. 705 ILCS 405/5 — 130(2)(a) (West 2002). On May 8, 2002, approximately two weeks after the defendant pled guilty and was sentenced, the General Assembly passed Public Act 92 — 665, which amended section 5 — 130 of the Act. Public Act 92— 665 provides, inter alia, that a minor who is subject to section 5 — 130(2) of the Act, and not charged with a Class X drug felony, may file prior to trial a motion requesting a hearing to determine whether he or she will be tried and sentenced as a delinquent minor or as an adult. Pub. Act 92 — 665, eff. January 1, 2003 (amending 705 ILCS 405/5 — 130 (West 2000)).
As a general matter, amendments to a statute are construed to apply prospectively and not retroactively (People v. Digirolamo,
Our inquiry, however, does not end here. The defendant argues that the trial court’s judgment is void and we must, therefore, remand the cause for proceedings under the Act because he did not waive in writing his right to be tried as a delinquent minor pursuant to section 5 — 130(2)(b)(i) of the Act (705 ILCS 405/5 — 130(2)(b)(i) (West 2002)). We note that the defendant did not raise this argument in the proceedings below. However, a void judgment may be attacked at any time, either directly or collaterally, and courts have an independent duty to vacate void orders. People v. Wade,
Section 5 — 130(2)(b)(i) of the Act provides as follows:
“(b)(i) If before trial or plea an information or indictment is filed that does not charge an offense specified in paragraph (a) of this subsection (2) the State’s Attorney may proceed on any lesser charge or charges, but only in Juvenile Court under the provisions of this Article. The State’s Attorney may proceed under the criminal laws of this State on a lesser charge if before trial the minor knowingly and with advice of counsel waives, in writing, his or her right to have the matter proceed in Juvenile Court.” 705 ILCS 405/5 — 130(2)(h)(i) (West 2002).
Although the defendant concedes that he and his attorney orally waived his right to be tried under the Act, he argues that the waiver was ineffective because it was not made in writing.
Our research has revealed no case which has interpreted the writing requirement in section 5 — 130(2)(b)(i) of the Act. A similar issue was addressed, however, in People v. Tooles,
Turning to the instant case, we first note that the written waiver requirement set forth in section 5 — 130(2)(b)(i) of the Act does not impact upon the trial court’s jurisdiction. The juvenile court is merely a division of a single unified circuit court. People v. P.H.,
The record shows that defense counsel advised the court that he had explained to the defendant the ramifications of waiving his right to be tried as a delinquent minor. Additionally, the trial judge asked the defendant if he wished to waive this right, and the defendant replied in the affirmative. The trial court’s docket sheet from April 26, 2002, also reflects that the defendant waived the right. We find that the defendant knowingly waived his right to be tried as a delinquent minor under the Act. Further, applying the rationale employed by our supreme court in Tooles, we hold that the defendant’s failure to execute a written waiver of his right to have this matter proceed in the juvenile division of the circuit court did not render his oral waiver ineffective and did not, for that reason, render the trial court’s subsequent judgment void.
The defendant next argues that this case must be remanded “because the court’s original judgment sentencing [him] as an adult is void because the sentence does not conform to a statutory requirement.” Again, although the defendant did not raise this argument below, we will consider it for the first time on appeal because a void sentence may be attacked at any time. People v. Champ,
Section 5 — 130(2)(c)(ii) directs how a minor defendant should be sentenced following a conviction for an offense not covered by section 5 — 130(2)(a). It states in relevant part:
“(ii) If after trial or plea the court finds that the minor committed an offense not covered by paragraph (a) of this subsection (2), that finding shall not invalidate the verdict or the prosecution of the minor under the criminal laws of the State; however, unless the State requests a hearing for the purpose of sentencing the minor under Chapter V of the Unified Code of Corrections, the Court must proceed under Sections 5 — 705 and 5 — 710 of this Article. To request a hearing, the State must file a written motion within 10 days following the entry of a finding or the return of a verdict. *** If the motion is made by the State, the court shall conduct a hearing to determine if the minor should be sentenced under Chapter V of the Unified Code of Corrections.” 705 ILCS 405/5 — 130(2)(c)(ii) (West 2002).
In deciding whether a minor defendant should be sentenced under the Act or as an adult, the trial court considers a number of factors such as: whether the offense was committed in an aggressive and premeditated manner; the age of the minor; his previous history; whether there are available facilities to treat and rehabilitate the minor; whether it is in the interest of public security that the defendant be sentenced as an adult; and whether the minor possessed a deadly weapon while committing the offense. 705 ILCS 405/5 — 130(2)(c) (ii) (West 2002).
There is no dispute that the State did not request a hearing pursuant to section 5 — 130(2) (c)(ii). The State, however, argues that no such hearing was required because the defendant explicitly agreed, as part of his plea agreement with the State, that he would waive sentencing under the Act and would accept adult probation in exchange for the State’s dismissal of the more severe charge. The issue of whether a defendant may waive the requirement in section 5 — 130(2)(c)(ii) has never been decided in Illinois. After looking at the plain language of section 5 — 130(2) (c) (ii) and our prior construction of a similar provision of the Act, we believe that the requirement is mandatory and, as a consequence, a minor defendant cannot waive it.
The controlling principles of statutory construction are well established. The fundamental rule of statutory construction is to ascertain and give effect to the intent of the legislature. People v. Bonutti,
In People v. Champ,
“If *** the minor is only convicted of an offense not covered by paragraph (a) of this subsection (6), the conviction shall not invalidate the verdict or the prosecution of the minor under the criminal laws of the State; however, unless the State requests a hearing for the purpose of sentencing the minor under Chapter V of the Unified Code of Corrections, the Court must proceed under Sections 5 — 22 and 5 — 23 of this Act. *** If the motion is made by the State, the court shall conduct a hearing to determine if the request should be granted.” (Emphasis added.) 705 ILCS 405/5— 4(6)(c)(ii) (West 1996) (repealed by Pub. Act 90 — 590, eff. January 1, 1999) (now, as amended, 705 ILCS 405/5 — 130(l)(c)(ii) (West 2002)).
We noted that use of the word “must” demonstrated that the provision set forth above was not discretionary. Champ,
As stated, the provision at issue in Champ is virtually identical to section 5 — 130(2) (c)(ii) and we likewise find that the provision is not discretionary. Section 5 — 130(2) (c)(ii) unambiguously states that if a minor defendant is convicted of an offense not covered by section 5 — 130(2)(a) of the Act, the court “must” proceed under the sentencing provisions of the Act “unless”: (1) the State files a written motion requesting a hearing for the purpose of determining whether the minor should be sentenced as an adult; (2) the court conducts a hearing on the motion; and (3) the court, after considering various factors, determines that the minor defendant should be sentenced as an adult. 705 ILCS 405/5 — 130(2)(c)(ii) (West 2002). We believe that the hearing requirement in section 5 — 130(2)(c)(ii) is mandatory and, contrary to the State’s assertion, cannot be waived by a defendant. Had the legislature wanted to allow minor defendants to waive the hearing requirement, it would have explicitly stated so, as it did in section 5 — 130(2)(b)(i) of the Act (705 ILCS 405/5 — 130(2)(b)(i) (West 2002)), thereby allowing minor defendants to waive their right to be tried as delinquent minors.
We note briefly that the State relies on the decision in People v. Berryman,
Based on the plain and unambiguous language of section 5 — 130(2) (c)(ii) and our prior construction of similar language in Champ, we hold that a minor defendant may not waive the hearing requirement contained therein. Because the State did not request a hearing to determine whether the defendant should be sentenced as an adult, section 5 — 130(2)(c)(ii) required that the circuit court sentence the defendant as a delinquent minor. See Champ,
When faced with this exact predicament in Champ, we followed the court’s actions in People v. Brazee,
On remand, the circuit court sentenced the defendant accordingly, but ruled that the defendant stood convicted of a criminal offense even though he was sentenced as a delinquent minor under the Act. The defendant subsequently challenged that ruling on appeal in People v. Brazee,
“We can see no reason why the General Assembly would intend to attach the stigma and legal consequences of a criminal conviction merely because the minor at one time stood charged with a more serious offense. We therefore conclude that, when the charge or charges enumerated in section 5 — 4(6) (a) have been resolved in the minor’s favor, he or she is no longer excluded from the definition of ‘delinquent minor.’ We further conclude that, by validating the criminal prosecution and verdict, section 5 — 4(6)(c)(ii) merely eliminates the need to retry the defendant in a formal delinquency hearing.” Brazee II,333 Ill. App. 3d at 48 .
Accordingly, the court modified the judgment of the circuit court by vacating the defendant’s conviction and entering an adjudication of delinquency in its place. Brazee II,
Following the dictates of Champ and Brazee I, the defendant in this case must be resentenced as a delinquent minor under the Act. Moreover, upon resentencing the defendant under the Act, his criminal conviction for possession of a controlled substance with intent to deliver must be vacated and an adjudication of delinquency must be entered instead. See Brazee II,
Based on the foregoing analysis, we reverse the trial court’s order granting the defendant’s section 2 — 1401 petition to vacate the judgment of April 26, 2002, and we remand this matter to the circuit court with directions to: (1) vacate the defendant’s conviction for possession of a controlled substance with intent to deliver; (2) enter an adjudication of delinquency in its place; and (3) sentence the defendant as a delinquent minor under the Act.
Reversed and remanded with directions.
KARNEZIS, EJ, and SOUTH J., concur.
