Section 13D(f) in The U.P. Municipalities Act, 1916
(f)is in the service of the State or the Central Government or any local authority, or is a District Government Counsel or an Additional or Assistant District Government Counsel or an Honorary Magistrate or an Honorary Munsif or an Honorary Assistant Collector; or