§ 130.06 ATTEMPT.
   (A)   Elements of the offense. A person commits an attempt when, with intent to commit a specific offense, he or she does any act which constitutes a substantial step toward the commission of that offense.
   (B)   Impossibility. It shall not be 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)   Maximum fine. A person convicted of an attempt may be fined not to exceed the maximum provided for the offense attempted.
(720 ILCS 5/8-4) (Prior Code, § 130.06) Penalty, see § 130.99