ORIGINAL PROCEEDING IN HABEAS CORPUS
On May 21, 1987, Jeffery Osowski pled guilty to the crime of attempted sodomy in violation of § 564.011.1, RSMo. 1 Because § 566.060(4) makes the crime of sodomy a class B felony, attempted sodomy is thus a class C felony under § 564.011.3(2). Osowski was sentenced to fifteen years in prison. However, for a class C felony, the authorized term of imprisonment cannot exceed seven years. § 558.011.1(3).
The body of the information charging Osowski erroneously stated that attempted sodomy was a class B felony. Pursuant to a plea agreement, Osowski pled guilty to attempted sodomy. Relying on the error in the information, the trial judge sentenced Osowski to fifteen years, the maximum sentence for a class B felony under § 558.011.1(2). The record shows on its face that the trial court only had authority to sentence Osowski to a term of imprisonment of seven years. Giving credit for all jail time, *691 Osowski has now served seven years imprisonment. He seeks relief by petition for writ of habeas corpus.
Here the state claims that the defendant has waived any objection as to the propriety of his sentence because he did not raise this issue within the time provided under our rules for filing his post-conviction motions. It may be true that his objections as to the effective representation of his trial counsel are waived; it may also be true that his complaints as to the voluntariness of his guilty plea are waived. However, those waivers do not affect his objection that the sentence exceeds the maximum allowed by law.
If a court imposes a sentence that is in excess of that authorized by law, habeas corpus is a proper remedy.
State ex rel. Dutton v. Sevier,
Petitioner is ordered discharged.
Notes
. Since petitioner was charged and sentenced under the statute in effect in 1986, all statutory references are to RSMo 1986 unless otherwise noted.
