The city council may elect or appoint a municipal attorney and a judge or judges of the municipal court, whose duties shall be as prescribed by law. No mayor or councilman shall be so elected or appointed to serve as municipal judge during his term of office. The provisions of this section do not apply to a mayor who presides over a mayor's court in his capacity as mayor as authorized in Section 5-7-90.
S.C. Code § 5-7-230