a mayor is chosen by people in an election