The mayor of each city may administer oaths and affirmations.