delivered the opinion of the court:
On December 18, 2000, Robert Taylor (the petitioner) filed in the circuit court a pro se petition for a writ of habeas corpus seeking his release from the Illinois Department of Corrections. In his petition, the petitioner alleged that his sentence of natural-life imprisonment was unconstitutionаl under Apprendi v. New Jersey,
FACTS
Following a bench trial, the petitioner was convicted of murder (Ill. Rev. Stat. 1979, ch. 38, par. 9—1(d)) and of armed robbery (Ill. Rev. Stat. 1979, ch. 38, par. 18—2). The triаl court sentenced the petitioner to death for the murder conviction and to a 60-year, extended-term sentence for the armed robbery conviction. On appeal, the supreme court held that the evidence was insufficient to sustain the petitioner’s armed robbery conviction and reversed his conviction. People v. Taylor,
On remand, the trial court determined that, even though the petitioner was not charged with the offense, the evidence at the trial was sufficient to sustain a conviction for burglary (Ill. Rev. Stat. 1979, ch. 38, par. 19—1(a)). Because factors in aggravation were present, i.e., the murder had been cоmmitted during the course of a burglary and had been brutal and heinous indicative of wanton cruelty, the court imposed a sentence of natural-life imprisonment pursuant to section 5—8—1(a)(1) of the Unified Code of Corrections (Unified Code) (Ill. Rev. Stat. 1979, ch. 38, par. 1005—8—1(a)(1) (now see 730 ILCS 5/5—8—1(a)(1)(b) (West 2000))). The petitioner aрpealed, contending that the trial court’s findings that the burglary and the commission of an exceptionally brutal and heinous murder were aggravating factors warranting a life sentence were error. The appellate court affirmed the trial court’s holding that the evidence in the record suрported a finding of the petitioner’s guilt beyond a reasonable doubt for the commission of the offense of burglary, and it affirmed the trial court’s imposition of a life sentence. People v. Taylor,
The petitioner filed his writ of habeas corpus after the United States Suprеme Court’s decision in Apprendi, which held that a sentence is unconstitutional if a fact used to increase the maximum penalty for a crime is not submitted to a jury and proven beyond a reasonable doubt. Apprendi,
ANALYSIS
The petitioner argues that under the Habeas Corpus Act (the Act) (735 ILCS 5/10—101 et seq. (West 2000)), a prisoner is entitled to an immediate release from incarceration if the term during which the prisoner may be legally detained has expired. 735 ILCS 5/10—123(2) (West 2000). Additionally, the petitioner asserts that the Act provides that a prisoner may be discharged where, although the original imprisonment was lawful, some subsequent act, omission, or event has occurred entitling the prisoner to a discharge. 735 ILCS 5/10—124(2) (West 2000). The petitioner claims that because his extended-term sentence was void ab initio under the holding in Apprendi, he has served more than the maximum term оf imprisonment for which he was lawfully detained and is entitled to a discharge under section 10—123(2) of the Act (735 ILCS 5/10—123(2) (West 2000)). The petitioner further claims that the decision in Apprendi is a subsequent event entitling him to a discharge under section 10—124(2) of the Act (735 ILCS 5/10—124(2) (West 2000)).
In a motion to dismiss under section 2—615, a trial court must consider whether thе allegations of the complaint, when viewed in the light most favorable to the petitioner, are sufficient to state a cause of action upon which relief can be granted. LaPointe v. Chrans,
The petitioner has not alleged that he is entitled to a release because the trial court lacked jurisdiction, but he contends that his sentence is unconstitutional and void ab initio because of the holding in Apprendi. The petitioner asserts that after day-for-day good time is considered, he has served his maximum sentence under the sentencing statute in effect at the time of his conviction and is entitled to a discharge under section 10—123(2) of the Act. Section 10—123(2) provides that a prisoner, originally lawfully detained, is entitled to a discharge when the time for which hе is legally detained has expired. 735 ILCS 5/10—123(2) (West 2000). Habeas corpus relief is not available to a person who is in custody by virtue of a final judgment of a circuit court, unless the time during which the petitioner may be legally detained has expired. Faheem-El v. Klincar,
Here, the petitioner is not entitled to a discharge under the Act. The petitioner is currently serving time for a life sentence, so his time of legal detainment has not expired. His argument that his prison term has expired rests on the crucial issue of whether his sentence is unconstitutional under Apprendi.
Even if, as the petitioner argues, the life sentence imposed on him is unсonstitutional under Apprendi, the petitioner still does not meet the requirement that he is entitled to a discharge because his prison term has expired. The petitioner’s sentence would be 20 to 40 years’ imprisonment under the statute in effect at the time of his sentencing. Regardless of whether the рetitioner has earned day-for-day good-time credit under section 3—6—3(a)(2) of the Unified Code (Ill. Rev. Stat. 1979, ch. 38, par. 1003—6—3(a)(2) (now see 730 ILCS 5/3—6—3(a)(2) (West 2000))), he is not entitled to a discharge and is subject to the custody of the Department of Corrections until the maximum term of imprisonment that could legally, under the petitioner’s reasoning, be imposed, here 40 years, and the three-year mandatory supervised release imposed under section 5—8—1(d) of the Unified Code (Ill. Rev. Stat. 1979, ch. 38, par. 1005—8—1(d) (now see 730 ILCS 5/5—8—1(d) (West 2000))) have expired. Faheem-El,
Further, even if Apprendi were applicablе to the petitioner’s case, he would not prevail; therefore, we do not determine whether Apprendi is a subsequent event entitling him to an early discharge from his lawfully imposed sentence under section 10—124(2) of the Act (735 ILCS 5/10—124(2) (West 2000)). First, the petitioner’s sentencing statute is not void ab initio as the petitionеr asserts. In Hill v. Cowan,
Here, the petitioner’s sentence was imposed under section 5 —8—1(a)(1) (Ill. Rev. Stat. 1979, ch. 38, par. 1005—8—1(a)(1) of the Unified Code (now see 730 ILCS 5/5—8—1(a)(1)(b) (West 2000))), which allowed the imposition of a sentence of natural-life imprisonment for a murder conviction if any of the aggravating factors listed in section 9—1(b) of the Criminal Code of 1961 (Ill. Rev. Stat. 1979, ch. 38, par. 9—1(b) (now see 720 ILCS 5/9—1(b) (West 2000))) existed or if the murder was accompanied by exceptionally brutal or heinous behavior indicative of wanton cruelty. Section 9—1(b)(6)(c) of the Criminal Code of 1961 provided that an aggravating factor was present if the murder was committed during the course of one of the enumerated felonies, including burglary. Ill. Rev. Stat. 1979, ch. 38, par. 9—1(b)(6)(c). There are many circumstances that come to mind where this statute can be validly applied. Any murder committed during the enumerated felonies, if the felony is proved beyond a reasonable doubt at the trial, would be a valid application of section 5—8—1(a)(1)(b) of the Unified Code. Therefore, the statute under which the petitioner was sentenced is not facially unconstitutional and is not void ab initio.
Second, the petitioner claims that his sentence was unconstitutional under Apprendi because the aggravating factor that the murder was exceptionally brutal and heinous indicative of wanton cruelty was not charged in the indictment, submitted to the trier of fact, or proven beyond a reasonable doubt. Regardless of this claim, the fact remains that the petitioner’s life sentence was also imposed because it occurred during the commission of a burglary, an aggravating factor, standing alone, that allows the imposition of a fife sentence. Ill. Rev. Stat. 1979, ch. 38, pаrs. 1005—8—1(a)(1), 9—1(b)(6)(c). In the petitioner’s appeal of his resentencing, the petitioner’s life sentence was affirmed, based upon a finding that the murder had been committed in the course of a burglary. Taylor,
Further, although the petitioner contends that he was not charged with burglary, the error is harmless, because the appellate court found that the evidence of record supported the finding that the petitioner committed the offense of burglary beyond a reasonable doubt. Taylor,
The petitioner cannot present any evidence that he is entitled to a discharge because he has served his sentence (735 ILCS 5/10—123(2) (West 2000)) or because of the occurrence of a subsequent event that would entitle him to a discharge undеr the statute (735 ILCS 5/10—124(2) (West 2000)). Because the petitioner can present no evidence entitling him to relief under the Act, we find that the trial court did not err in granting the State’s motion to dismiss the petitioner’s petition for a writ of habeas corpus.
CONCLUSION
For the foregoing reasons, the judgment of the circuit court of Randolph County is affirmed.
Affirmed.
MAAG and KUEHN, JJ., concur.
