The city attorney shall receive such compensation as is allowed by the legislative body.
Ca. Gov. Code § 41804