Sheriffs, clerks of courts and their deputies are prohibited from practicing law or acting as attorneys or counselors-at-law, or having as a partner a lawyer or any one who acts as such. Provided, however, any county elected official, with the approval of the board of county commissioners, may hire an attorney to act as his legal advisor.
Idaho Code § 31-2014