See Full Constitution
Article VI

Section 5. Attorney general and reporter; district attorneys

An Attorney General and Reporter for the State, shall be appointed by the Judges of the Supreme Court and shall hold his office for a term of eight years. An Attorney for the State for any circuit or district, for which a Judge having criminal jurisdiction shall be provided by law, shall be elected by the qualified voters of such circuit or district, and shall hold his office for a term of eight years, and shall have been a resident of the State five years, and of the circuit or district one year. In all cases where the Attorney for any district fails or refuses to attend and prosecute according to law, the Court shall have power to appoint an Attorney pro tempore.