7-4-2711. County attorney to be legal adviser of county and other subdivisions. (1) The county attorney is the legal adviser of the board of county commissioners. The county attorney shall attend their meetings when required and shall attend and oppose all claims and accounts against the county that are unjust or illegal. The county attorney shall defend all suits brought against the county.
(2) The county attorney shall:
(a) give, when required and without fee, an opinion in writing to the county, district, and township officers on matters relating to the duties of their respective offices;
(b) act as counsel, without fee, for fire districts and fire service areas in unincorporated territories, towns, or villages within the county;
(c) when requested by a conservation district pursuant to 76-15-319, act as counsel, without fee;
(d) when requested by a weed district pursuant to 7-22-2109, act as counsel, without fee; and
(e) when requested by a county hospital board pursuant to 7-34-2115, act as counsel, without fee, unless the legal action requested involves the county commissioners.