The county judge and county solicitor shall not practice as attorneys at law in any cause or matter of which the county court has jurisdiction or may acquire jurisdiction. Upon conviction of any willful violation of this section the offender shall be adjudged to have forfeited his office and shall be sentenced to pay a fine of not less than two hundred nor more than five hundred dollars and be imprisoned for a period of not less than one month nor more than six months. But the county solicitor may practice in all causes and matters on the civil side of said court.
S.C. Code § 14-9-240