What is the criteria for holding the position of mayor in a city?

Each individual city sets the rules for qualifications to run for major.

You should check with your city hall to determine what is required.