South carolina constitution
Article V: judicial department
Section 16

The Justices of the Supreme Court and the judges of the Court of Appeals and Circuit Court shall each receive compensation for their services to be fixed by law, which shall not be diminished during the term. They shall not, while in office, engage in the practice of law, hold office in a political party, or hold any other office or position of profit under the United States, the State, or its political subdivisions except in the militia, nor shall they be allowed any fees or perquisites of office. Any such Justice or judge who shall become a candidate for a popularly elected office shall thereby forfeit his judicial office.