South carolina constitution
Article V: judicial department
Section 27

No person may be elected to these judicial positions unless he or she has been found qualified by the commission. Before a sitting member of the General Assembly may submit an application with the commission for his nomination to a judicial office, and before the commission may accept or consider such an application, the member of the General Assembly must first resign his office and have been out of office for a period established by law. Before a member of the commission may submit an application with the commission for his nomination to a judicial office, and before the commission may accept or consider such an application, the member of the commission must not have been a member of the commission for a period to be established by law.