A person who is an appellate judge on the effective date of the Judicial Redistricting Act of 1997 and whose district of residence is changed by that Act may, when next seeking retention in that office, run for retention in either (i) the district in which he or she resides when seeking retention or (ii) any other district that includes a portion of the judicial district in which he or she resided on the day before the effective date of the Judicial Redistricting Act of 1997.
If, as a result of the Judicial Redistricting Act of 1997 or of the retention decisions of the appellate judges affected by that Act, a judicial district has more than 6 appellate judges, a vacancy that occurs in that judicial district shall be assigned to and filled in the judicial district having the fewest appellate judges; if 2 or more judicial districts are tied for the fewest appellate judges, the Secretary of State shall determine by random public selection the district to which that vacancy shall be assigned.
705 ILCS 25/1