§ 130.06  ATTEMPT.
   (A)   Elements of the offense.  A person commits the offense of attempt when, with intent to commit a specific offense, he or she does any act that constitutes a substantial step toward the commission of that offense.
   (B)   Impossibility. It is not a defense to a charge of attempt that because of a misapprehension of the circumstances it would have been impossible for the accused to commit the offense attempted.
   (C)   Sentence.  A person convicted of attempt may be fined or imprisoned or both not to exceed the maximum provided for the offense attempted.  If such fine exceeds that set forth in § 130.99 below, however, the village shall enforce said offense under the provisions of state law.
(ILCS Ch. 720, Act 5, § 8-4)  Penalty, see § 130.99