delivered the opinion of the court:
Defendant Robert Taylor appeals from the dismissal of his petition for relief under section 2 — 1401 of the Code of Civil Procedure (the Code) (735 ILCS 5/2 — 1401 (West 2002)). He contends that the trial court committed reversible error by summarily dismissing his petition sua sponte. For the following reasons, we affirm.
Defendant was convicted of armed robbery and sentenced to an extended term of 60 years’ imprisonment on August 31, 1979'. The parties have not provided us with, nor does the record reflect, any other facts concerning his conviction and sentence or whether he pursued an appeal or postconviction relief. On March 4, 2003, defendant filed a pro se petition entitled “Petition for Relief from Judgment Pursuant to 735 ILCS 5/2 — 1401(f).” In that petition, defendant argued that his extended-term sentence was void and unconstitutional under Apprendi v. New Jersey,
Section 2 — 1401 of the Code provides a comprehensive statutory procedure by which final orders, judgments, and decrees may be challenged more than 30 days after their entry. People v. Pinkonsly,
We recognize a dispute among the districts of this court concerning whether a trial court may summarily dismiss a defendant’s section 2 — 1401 petition sua sponte. The Second District holds that a trial court commits reversible error by dismissing a section 2 — 1401 petition without giving defendant notice and an opportunity to respond to the trial court’s action and this court cannot look beyond this error to assess the merits of the petition. People v. Mescall,
However, we need not decide whether a trial court may summarily dismiss a section 2 — 1401 petition in every case. We merely hold that in this case, based on the specific allegations of this defendant’s section 2 — 1401 petition, the trial court properly dismissed the petition.
In Pearson, the State argued that even if the trial court erred in dismissing the petition summarily, the appellate court could nevertheless affirm the trial court’s summary dismissal on the grounds that the petition was meritless and, thus, the dismissal did not prejudice the defendant. The Pearson court disagreed and concluded that “the proceedings by which defendant’s petition was dismissed were too far removed from those to which he was entitled for us to hold that he suffered no prejudice.” Pearson,
We disagree with this holding in Pearson and decline to follow it here. We may look beyond any alleged procedural defect where, as in this case, defendant’s petition raised a pure question of law, was frivolous and completely without merit, and no prejudice resulted from the trial court’s dismissal. Defendant’s petition presented a purely legal issue to the trial court:
Additionally, we find no prejudice to defendant resulted from the trial court’s order summarily dismissing his petition. In fact, on appeal, defendant makes no argument as to how the court’s sua sponte dismissal prejudiced him. We need not decide whether a situation could exist where a defendant would be prejudiced from a trial court’s summary dismissal of his section 2 — 1401 petition because this is not such a case. Here, defendant has not alleged, nor could he ever allege, any facts in his petition that would circumvent De La Paz and make his extended-term sentence subject to Apprendi. Thus, even if defendant had been given notice and an opportunity to be heard before the court dismissed his petition, he could not have cured its inherent defects. Dismissal of defendant’s petition was inevitable. Owens,
Accordingly, we find that the trial court did not abuse its discretion when it dismissed defendant’s section 2 — 1401 petition sua sponte. We affirm the judgment of the circuit court of Cook County.
Affirmed.
