delivered the opinion of the court:
Pеtitioner, Coba Palmer, appeals from the judgment of the circuit court of McLean County dismissing, without an evidentiary hearing, his petition, filed pro se, for a writ of habeas cоrpus.
The record shows that in a bench trial petitioner was convicted of two counts of theft over $150 and sentenced to the penitentiary. He filed, pro se, a “Petitiоn for Writ of Habeas Corpus” in which it is alleged that the jurisdiction of the circuit court is invoked “pursuant to Chapter 65, section 22 of the Illinois Revised Statutes.” In the petition it is further allegеd that petitioner was deprived of his constitutional right to have the assistance of counsel at a preliminary hearing and during arraignment, and that the indictment upon which he wаs convicted is fatally defective in that two of the three counts were not signed by the foreman of the grand jury. Along with the petition, petitioner filed a motion for leave to proceed as a poor person, and an “Affidavit of Poverty” in which he stated that he was without funds and unable to employ counsel.
The People moved to strike thе petition, the motion was allowed and this appeal followed.
Petitioner contends that the circuit court erred in dismissing his petition for habeas corpus without either appointing counsel or inquiring whether he desired the assistance of counsel. It is the position of the People that there is no right to appointed counsel in a habeas corpus proceeding and the circuit court did not err in failing to appoint counsel to represent petitioner.
In People ex rel. Haven v. Macieiski,
In People ex rel. Lewis v. Frye,
In their brief, the People state that thе sole issue presented on this record is whether the circuit court abused its discretion in not considering the petition as a post-conviction petition. They argue that bеcause the petition alleged a jurisdictional defect and was captioned “habeas corpusthe circuit court “had no compelling reason to construe the petition as anything other than a habeas corpus petition.” They point out that petitioner suffered no detriment by reason of the dismissal of the petition and his post-conviction remedies remain unimpaired.
In our opinion the rationale of Haven and Lewis and the position taken by the People are not in harmony with the philosophy of People v. Slaughter,
It is apparent that the same lack of legal knowledge which causes a prisoner to draft an inadequate post-conviction petition might result in his selecting the wrong method of collаterally attacking his conviction. A salutary result, consistent with the intent of the Post-Conviction Hearing Act as expressed in Slaughter, would be achieved if the circuit court, upon finding thаt a pro se petition, however labeled, and however inartfully drawn, alleged violations of the petitioner’s rights cognizable in a post-conviction proceеding, would thereafter, for all purposes, treat it as such. This practice would enable the issues to be properly framed and the matter adjudicated in one proceeding and with finality. We need not and do not reach the question of whether an indigent petitioner is entitled to appointment of counsel in a habeas corpus action in which no such violations are alleged.
Although the circuit court erred in failing to treat the petition as a post-conviction petition, we do not find it necessary tо reverse and remand the cause for further proceedings. It was stated on oral argument that petitioner had been discharged and is no longer incarcerated, and it may be that he no longer desires to seek post-conviction relief. The judgment of dismissal of this cause is not res judicata and the fact that his term of imprisonment has ended does not of itself serve to bar the institution of post-conviction proceedings. (People v. Davis,
Judgment affirmed.
