(a) A person may not be appointed to or removed from municipal office or in any way favored or discriminated against with respect to a municipal position or municipal employment because of the person's race, color, sex, creed, national origin or, unless otherwise contrary to law, because of the person's political opinions or affiliations.
(b) Subject to AS 14.14.140, a state employee or school district employee may not be denied the right to serve as an elected municipal official because of employment by the state or a school district. For purposes of this subsection, a school district employee is not a municipal employee.
(c) This section applies to home rule and general law municipalities.