A city may defend any person elected to the city council or to the office of city clerk or city treasurer in any election contest instituted for any of the causes set forth in subdivisions (a), (d), or (e) of Section 16100 of the Elections Code.
Ca. Gov. Code § 36812.5