delivered the opinion of the court:
Gaylord Richardson was convicted of burglary in a jury trial in the circuit court of Warren County and sentenced to an extended term of 10 years’ imprisonment. The appellate court affirmed the conviction but remanded to the trial court for resentencing. (
Around 3 a.m. on April 16, 1982, the silent alarm at the Eagles Club in Monmouth was activated, alerting both a club trustee, Cecil Albert, and the Monmouth police. Together they entered the building, where they discovered the defendant Richardson in a supply closet. Although Albert described the defendant’s condition as “pretty far gone,” the defendant was able to walk and talk. He asked for beer and cigarettes which he had left on a table in the barroom. A sеarch of the premises revealed those items. Nothing else was missing or out of place.
The defense at trial was that the defendant was so intoxicated that he could not form an intent to commit theft. The Criminal Code of 1961 (Ill. Rev. Stat. 1981, ch. 38, par. 19—1) defines burglary as “knowingly enterpng] or without authority remain[ing] within a building *** with intent to commit therein a felony or theft,” and the defendant argued, as he does in this court, that a necessary element of the crime of burglary, the element of intent to commit a theft, was not proved beyond a reasonable doubt. The appellate court remarked that the jury may infer the element of intent in a burglary case from the evidence of illegal entry into premises containing movable property which could be the subject of a theft.
The defendant contends that the remand was proper because of two sentencing errors. The defendant claims, and thе appellate court agreed, that the Dangerous Drug Abuse Act (Ill. Rev. Stat. 1981, ch. 91½, pars. 120.9, 120.10) required the trial judge to advise him of his possible eligibility for drug-abuse treatment before sentencing. The appellate court, however, rejected his additional claim that the extended sentence was imрroper because it was based upon prior convictions which resulted from guilty pleas.
The defendant suggests that the appellate court erred by asserting that the conviction could be affirmed on the basis of the jury’s inference regarding the element of intent. Relying on People v. Housby (1981),
Housby and the United States Supreme Court cases on which it is based (Sandstrom v. Montana (1979),
Intent is a state of mind which can be inferred from surrounding circumstances. (People v. Terrell (1984),
The crime of burglary requires that its elements often be proved by circumstantial evidence. (People v. Palmer (1964),
Because the precautions announced in Housby do not apply, the problem is simply whether the evidence was sufficient to prove each element of the crime of burglary beyond a reasonable doubt. There is no doubt that defendant entered and remained in the Eagles Club building without authority to do so. The only question is whether the evidence was sufficiеnt to infer an intent to commit theft.
In a burglary case, the relevant surrounding circumstances include the time, place and manner of entry into the premises, the defendant’s activity within the premises, and any alternative explanations offered for his presence. The evidence showed that thе boards blocking a window in a meeting room had been removed; the window was hidden from view from the street; the police check revealed the remainder of the exterior to be secure; no one else was seen in or near the building; and the defendant was found in a closet. The jury could conclude that the defendant removed the boards, entered through the window, and hid in the closet to avoid detection. The entry occurred at 3 a.m., an hour at which he would expect the building to be deserted. Defendant’s beer and cigarettes left in the barroom indicated that he had been in that room before retreating to the closet. Both the barroom and the closet contained movable property which could have been the subject of theft. (Cf. People v. Johnson (1963),
While it is true that the defendant tried to prove that he was so drunk that he could not have known what he was doing and could not have formed an intent to commit theft, the jury was free to rejeсt this defense, particularly in view of conflicting testimony as to how many drinks defendant had consumed and how drunk he appeared to be. The jury concluded beyond a reasonable doubt that the defendant entered the Eagles Club building without authority with the intent to commit theft, and the evidence which we havе detailed above established guilt beyond a reasonable doubt. The jury’s verdict must, therefore, stand.
Next, relying on People v. Kuesis (1980),
As in this case, thе defendant in Kuesis failed to petition the trial court for consideration under the Dangerous Drug Abuse Act (cf. People v. Teschner (1980),
Prior to mid-1979, the Dangerous Drug Abuse Act read:
“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 may advise him that he may be рlaced on probation if he elects to submit to treatment and is accepted for treatment ***.” (Emphasis added.) (Ill. Rev. Stat. 1977, ch. 91½, par. 120.10.)
Effective September 11, 1979, the Dangerous Drug Abuse Act was amended by changing the word “may” to “shall.” Ill. Rev. Stat. 1979, ch. 91½, par. 120.10.
The fundamental principle of statutory construсtion is to give effect to the intent of the legislature. (People v. Alejos (1983),
We are not persuaded by the State’s argument that the eligibility determination which must be made by the trial judge is not affected by thе amendment. In the State’s view, the obligation to advise the defendant only arises after the judge has determined that the defendant is eligible under section 8 of the Act. The State argues that lack of consent from the defendant’s parole or probation officer makes him ineligible; consequеntly, the State contends, the judge has no obligation to advise the defendant until the defendant establishes both by petitioning the court for consideration and affirmatively producing this consent that he is eligible.
Given the change in the statute, this rationale is no longer viable. This court must consider the language of the amended statute in light of the need for the amendment and the purpose which it serves. (People v. Alejos (1983),
We therefore hold that section 10 of the Dangerous Drug Abuse Act requires the trial judge to inform every defendant whom he knows or has reason to believe is an addict of the possibility of treatment under the Act even where, as here, acceptance into a treatment program may be vetoed by the defendant’s parole or probation officer. The trial judge’s mandatory advice does not guarantee that the defendant will rеceive treatment under the Act. It merely sets into motion the further procedures specified in the statute.
The defendant’s final claim that the trial court acted improperly by basing an extended-term sentence on convictions resulting from guilty pleas is without merit. Section 5 — 5—3.2 of the Unified Code of Cоrrections states in part that an extended-term sentence may be imposed:
“(1) When a defendant is convicted of any felony, after having been previously convicted in Illinois of the same or greater class felony, within 10 years, *** and such charges are separately brought and tried ***.” (Emphasis added.) (Ill. Rev. Stat. 1981, ch. 38, par. 1005—5— 3.2(b)(1).)
The defendant argues that his prior convictions were never “tried” because they were obtained by guilty pleas. There is no merit to this contention. As the appellate court noted, a proceeding in which a trial judge accepts a guilty plea is a trial. (
For thе reasons explained above, we affirm the appellate court’s decision and remand to the trial court with instructions that the defendant be advised of his eligibility for treatment under the Dangerous Drug Abuse Act.
Appellate court affirmed; circuit court affirmed in part and reversed in part; cause remanded, with directions.
