delivered the opinion of the court:
Defendant, Nicholas Morguez, was indicted on four charges of burglary and one of attempted burglary. He pleaded guilty to all charges and received a sentence of three years’ imprisonment. The sole issue on appeal is whether the trial court erred in ruling defendant ineligible to be treated under the Dangerous Drug Abuse Act. Ill. Rev. Stat. 1979, ch. 91½, pars. 120.1-120.29.
Prior to trial defendant filed a petition with the trial court electing to be treated as a narcotics addict under section 8 (persons convicted of a crime) of the Dangerous Drug Abuse Act (the Act). (See Ill. Rev. Stat. 1979, ch. 91½, par. 120.8.) Acting on the petition, the trial court ordered defendant examined by T.A.S.C. (Treatment Alternatives to Street Crime). T.A.S.C. then filed a report stating that defendant had been accepted for the outpatient methadone treatment program at Hines V. A. Hospital. Subsequently, the court heard extensive arguments from counsel on defendant’s eligibility to be treated under the Act. The statutory provision in question, section 8, provides in relevant part:
“An addict charged with or convicted of a crime is eligible to elect treatment under the supervision of a licensed program designated by the Commission instead of prosecution or probation, as the case may be unless * * * (d) other criminal proceedings alleging commission of a felony are pending against the addict.” Ill. Rev. Stat. 1979, ch. 91½, par. 120.8.
The State argued that because more than one unrelated felony was pending against defendant at the same time, he was ineligible for treatment under the Act. Defendant contended that this provision excluded only those charged with a felony which was still pending prosecution or disposition at the time of sentencing. He further maintained that in his case all charges would be resolved as to guilt or innocence prior to sentencing because all five charges were before the same court, and accordingly, there would be no pending felony charge at the time the trial judge considered his eligibility under the Act.
The trial court found defendant ineligible for treatment under the Act because it construed the five felony charges to be pending as contemplated by the Act. The trial court stated:
“The Court: Cases decided before the Appellate Court, cases saying that he is an ineligible person with felony cases pending, one Appellate Court saying that he is eligible.
I am going to make a finding that he is ineligible. There was only one that said he was eligible.
Mr. Decker [defense counsel]: Would the ruling be about the same if the defendant entered into a voluntary plea in regard to all five cases that he has here and just proceed to the sentencing hearing?
The Court: It would be the same ruling.”
At a later hearing defendant pleaded guilty to all five charges and, pursuant to a prior negotiated plea agreement, the prosecutor recommended a term of three years, flat time. The trial court addressed defendant separately on each charge and admonished him of the nature and consequences of his guilty plea. The State then presented a summary of the evidence which would support a finding of defendant’s guilt and which would sustain the State’s burden of proof beyond a reasonable doubt. The defendant stipulated to the summary and to his admissions concerning the charged crimes.
Following the acceptance of the pleas and prior to sentencing on the charges, defendant renewed his petition to be treated under the Act. Instead, the trial court sentenced defendant to three years’ imprisonment. After sentencing, defendant asked the trial court to reconsider its sentencing and to allow defendant to receive treatment under the Act. As at the original hearing on the petition, the trial court stated its belief that defendant was ineligible under the explicit provisions of the Act which barred those with pending felonies. The trial court then commented:
“I would be the first to admit I was a little bit in a quandary as to what the law was. I ruled after giving it a lot of thought. I found him ineligible.
Mr. Decker: The defendant can attempt to appeal that ruling, if I may put that on the record just briefly.”
Defendant’s counsel was allowed to introduce defendant’s testimony of heroin addiction. The court then informed defendant of his right to appeal and right to have an attorney appointed if indigence were shown. It also stated that notice of intent to appeal and withdrawal of the guilty plea must be perfected within 30 days of the hearing. Defense counsel then filed the notice of appeal. No further actions appear in the transcript.
In any appeal, the threshold question is whether the defendant has complied with procedural requisites for perfecting an appeal. The State contends that this defendant has failed to do so, specifically, that he has failed to file a written motion to withdraw his guilty plea prior to undertaking an appeal. Supreme Court Rule 604(d) addresses this situation, providing:
“No appeal from a judgment entered upon a plea of guilty shall be taken unless the defendant, within 30 days of the date on which sentence is imposed, files in the trial court a motion to withdraw his plea of guilty and vacate the judgment. The motion shall be in writing and shall state the grounds therefor. When the motion is based on facts that do not appear of record it shall be supported by affidavit. The motion shall be presented promptly to the trial judge * * * . * * * The defendant’s attorney shall file with the trial court a certificate stating that the attorney has consulted with the defendant either by mail or in person to ascertain his contentions of error in the entry of the plea of guilty, has examined the trial court file and report of proceedings of the plea of guilty, and has made any amendments to the motion necessary for adequate presentation of any defects in those proceedings.” (Emphasis added.) Ill. Rev. Stat. 1979, ch. 110A, par. 604(d).
In People v. Stacey (1977),
“As we have observed, Rule 604(d) is more than a simple procedural step. It is one which goes to the heart of the agreement entered into between the People and the defendant. To allow the defendant to appeal by attacking only the sentence would make for the unwholesome situation of the accused, through negotiation with State, obtaining modification or dismissal of the more serious charges, entering a plea of guilty, and then attacking not his admission of the crime but only the sentence imposed.” (Stacey, at 266-67.)
The court acknowledged that the procedural rules for the taking of an appeal from those cases disposed of by guilty pleas differed from those resolved by a finding from the bench or by verdict of the jury. Nevertheless, each procedural rule was equally binding as a condition precedent to raising issues on appeal. Stacey, at 266.
The decision of the trial court in the instant case finding defendant ineligible to participate in the rehabilitation program set out by the Act presents meritorious grounds for appeal. Therefore, under Stacey, the issue should have been raised in a written motion to withdraw the plea of guilty and to vacate the judgment within 30 days following the decision complained of. The effect of defense counsel’s failure to present a written motion raising this issue was to waive and, additionally, to foreclose the right to appeal a possible defect in the sentencing procedure employed by the trial court. (See People v. Porter (1978),
As discussed in People v. Kinzer (1978),
In People v. Porter (1978),
Defendant herein was indicted for five unrelated felonies, all pending before the same trial court. He filed a petition to elect to undergo treatment for his drug addiction under section 10 of the Dangerous Drug Abuse Act, which section pertains to those persons convicted of a crime. (Ill. Rev. Stat. 1979, ch. 91½, par. 120.10, as amended by Pub. Act. 81-851.) This section provides:
“§10. If a court has reason to believe that an individual convicted of a crime is an addict or the individual states that he is an addict and the court finds that he is eligible to make the election provided for under Section 8, the court shall advise him that he may be placed on probation if he elects to submit to treatment and [he] is accepted for treatment by the Department.”
The eligibility section (section 8 referred to in section 10) provides:
“An addict charged with or convicted of a crime is eligible to elect treatment under the supervision of a licensed program designated by the Commission instead of prosecution or probation, as the case may be, unless * * * (d) other criminal proceedings alleging commission of a felony are pending against the kddict * * *." Ill. Rev. Stat. 1979, ch. 91½, par. 120.8.
The trial court interpreted section 8 to bar those addicts from treatment under the Act who have more than one unrelated felony charge pending against them at the time of prosecution. Defendant contends, as he did in the trial court, that in the situation presented by the case at bar, where all pending charges could be disposed of by the same trial court prior to ruling on the petition, defendant would be eligible for treatment under section 10.
Defendant concedes that the grant or denial of treatment under the Act, once eligibility is determined under section 8, is within the sound discretion of the trial court. (People v. Warren (1977),
In the instant case, the record indicates that the trial court did not exercise its discretion regarding whether or not defendant should be placed in treatment under the Act. Rather, the trial court believed that defendant was excluded by the very terms of section 8 and the cases interpreting it, and was thus ineligible. Accordingly, under the trial court’s interpretation, it had no discretion to exercise. If indeed the clause in section 8 barring those addicts with felony charges pending is inclusive of defendant, the exercise of discretion under section 10 would be unnecessary. The key issue, therefore, is whether the term “pending” as used in the statute (“other criminal proceedings alleging commission of a felony are pending against the addict”), refers to charges pending at the time of sentencing or at the time of initiation of prosecution.
Our supreme court has reviewed the policies of the Act on several occasions. In People v. Phillips (1977),
Both section 10 of the Act and the above enunciated policy favor an interpretation of eligibility under the Act which would not bar defendant’s participation. That policy urges a liberal construction of the Act to facilitate rehabilitation of addicts through placements alternative to the usual sentencing procedures. The Act was specifically designed to include those convicted addicts who had participated in criminal activity to support their narcotics habit. See Ill. Rev. Stat. 1979, ch. 91½, par. 120.2.
Section 10 of the Act applies solely to those convicted of a crime. Although an overly narrow reading of this section might lead one to the conclusion that only those convicted of “a crime,” i.e., one crime, would be covered under the section, the clear intent of the Act leads to the opposite conclusion. Clearly, it is the nature of the crimes (nonviolent) and the rehabilitative potential of the addict (excluding those who have had more than two prior attempts at treatment within any consecutive two-year period) which control. The record of the defendant, unless it contains two or more convictions of crimes of violence, is not an initial eligibility factor. Therefore, it would be inconsistent to penalize defendant and to find him ineligible solely because he accumulated his record during one court proceeding rather than on successive dates. Further, once his pleas of guilty were accepted, he was a convicted felon and no other criminal proceedings alleging commission of a felony were pending against defendant. Instead, only sentencing was pending.
Contrary to the State’s assertions, the majority of the appellate decisions to address this issue do not suggest a result different from that reached herein. In People v. Schoeneck (1976),
In still other cases, the issue which is presented here was considered in virtually the same factual context. Defendant was not denied eligibility under the pending charges factor of section 8 although he was charged with more than one felony. These felonies were all resolved either by plea or findings of guilt prior to the determination of eligibility. The appellate courts in each case held that at that point, there were no pending felony charges as contemplated in section 8. (See People v. Phillips (1976),
Additionally, logic suggests that the reason supporting exclusion of those pending prosecutions is not presented by the instant case. The most obvious purpose behind this prohibition is to prevent the trial court from initiating a rehabilitation program when defendant might still be sentenced in another courtroom for a crime, the circumstances of which the present sentencing judge might have no knowledge. Here, the trial judge had the facts of all the charges before him and any decision would not be superseded by a later, still pending, prosecution and sentencing.
For the foregoing reasons, and most specifically that defendant was not automatically excluded from participation in the drug abuse program by the reason of his five unrelated felony charges, the case is remanded to the trial court for its discretionary determination of whether defendant is properly subject to referral under the Act. See People v. Moore (1977),
Remanded with directions.
DOWNING and HARTMAN, JJ., concur.
Notes
In the instant case defense counsel also failed to comply with Rule 604(d), which in addition to the previously discussed motions, requires filing of a certificate stating, inter alia, that counsel consulted with defendant concerning possible defects in the guilty plea proceeding. While it is not per se incompetence not to file this certificate, it is indicative of the level of representation following the plea entered here. See People v. Tinsley (1977),
