(1) Whoever attempts to commit a battery as defined in sec. 9.01 or a theft as defined in sec. 9.04 shall be subject to a forfeiture of 1/2 the maximum forfeiture provided for the completed offense or, in default thereof, may be imprisoned in the County Jail for not more than 1/2 the maximum imprisonment provided for the completed offense.
(2) An attempt to commit an offense requires the actor to have an intent to perform acts and attain a result which, if accomplished, would constitute such offense and that he does acts toward the commission of the offense which demonstrate unequivocally, under all circumstances, that he formed the intent and would commit the offense except for the intervention of another person or some other extraneous factor. [Code § 9.98, 2018.]