The circuit court shall hear and determine contests of the election of judges of the Supreme Court, judges of the appellate court, clerk of the Supreme Court, and judges of the circuit court, but no judge of the circuit court shall sit upon the hearing of any case in which he is a party.
10 ILCS 5/23-3