The attorney general shall attend the supreme court, in person or by his assistant, and prosecute and defend therein all causes to which the state or any officer thereof in his official capacity is a party, and all causes to which any county may be a party unless the interest of the county be adverse to the state, to some officer thereof acting in his official capacity, or to some other county.
Miss. Code § 7-5-29