No person shall vote at the election who does not possess the qualifications mentioned in the affidavit in this Section. Any person offering to vote at any county seat election, whose right to vote shall be challenged by any challenger, member of the board of election, or by any voter of the county, shall answer under oath such questions as may be propounded to him touching his qualifications as a voter, and shall take and subscribe the following oath: State of Illinois, .... County.
I do solemnly swear that I am a citizen of the United States, and of this State; that I am of the age of 18 years or over; that I have resided in this State for 30 days immediately preceding this election; that I am a bona fide resident of this county, and have permanently resided herein for the last 30 days immediately preceding this election; that I am a legal voter of (here insert the name of the election precinct), and have permanently resided therein for the last 30 days immediately preceding this election, and that I have not voted at this election.
(Signed)
A .... B ....
He shall also procure two witnesses, who are at that time legal voters of the township or precinct, who shall take and subscribe the following oath, namely: State of Illinois, .... County.
We the undersigned do solemnly swear that we are voters, and legally entitled to vote at this election; that we have known A .... B .... the person now offering to vote at this election, for 30 days; that he has been a permanent resident of this county for 30 days last past, and for the 30 days immediately preceding this election has permanently resided in (township or precinct.)
C .... D ....
E .... F ....
Which oaths shall be subscribed and sworn before any officer authorized to administer oaths. The board of election shall receive and count the vote of any challenged person who shall present to them, with his vote, the oaths aforesaid. The oaths shall all be carefully preserved by the board of election, and returned and kept with the poll book, tally list and ballots, as provided by this Division. Any person swearing falsely concerning his right to vote, or concerning the right of another to vote at any such election, or any person who shall cast a fraudulent vote at any such election or who shall vote at such election, not having a right to vote at such election, or who shall cast a vote at such election in any other name than his own, or who shall vote more than once at such election, shall be guilty of a Class 4 felony.
55 ILCS 5/1-5013