The circuit courts in the respective counties may hear and determine contests of the election of mayors of cities, presidents of county boards, presidents of villages, in reference to the removal of county seats and in reference to any other subject which may be submitted to the vote of the people of the county.
10 ILCS 5/23-4