duties as mayor and councilman, any person elected to said office shall be sworn to faithfully and impartially discharge the duties of his office to the best of his ability and understanding.