It shall be the duty of all officers, heads of departments and all other individuals and boards charged with the duty of appointing individuals to state office or employing any individual in the state, if any part of the compensation is to be paid by the state, immediately to discharge all such officers or employees so appointed who violate any of the provisions of this article.
Ala. Code § 36-12-63 (1975)