(a) A person commits the offense of criminal impersonation in an election if he or she knowingly impersonates another person in an attempt to vote in a city, school district, county, state, or federal election.
(b) Criminal impersonation in an election is a Class D felony.