Another way to say "a mayor is a civic officer" is "One occupation as a civic officer is called a mayor."