<P> In many countries, a mayor (/ ˈmɛər / or / ˈmeɪər /, from the Latin maior (majˈjɔr), meaning "bigger") is the highest - ranking official in a municipal government such as that of a city or a town . </P> <P> Worldwide, there is a wide variance in local laws and customs regarding the powers and responsibilities of a mayor as well as the means by which a mayor is elected or otherwise mandated . Depending on the system chosen, a mayor may be the chief executive officer of the municipal government, may simply chair a multi-member governing body with little or no independent power, or may play a solely ceremonial role . Options for selection of a mayor include direct election by the public, or selection by an elected governing council or board . </P> <P> In modern England and Wales, the position of mayor descends from the feudal lord's bailiff or reeve (see borough). The chief magistrate of London bore the title of portreeve for considerably more than a century after the Norman Conquest . This official was elected by popular choice, a privilege secured from King John . By the beginning of the 12th century, the title of portreeve gave way to that of mayor as the designation of the chief officer of London, followed around 1190 by that of Winchester . Other boroughs adopted the title later . In the 19th century, in the United Kingdom, the Municipal Corporations Act 1882, Section 15, regulated the election of mayors . The mayor was to be a fit person elected annually on 9 November by the council of the borough from among the aldermen or councillors or persons qualified to be such . His term of office was one year, but he was eligible for re-election . He might appoint a deputy to act during illness or absence, and such deputy must be either an alderman or councillor . A mayor who was absent from the borough for more than two months became disqualified and had to vacate his office . A mayor was ex officio a justice of the peace for the borough during his year of office and the following year . He received such remuneration as the council thought reasonable . These provisions have now been repealed . </P>

Who is a mayor what are its functions
find me the text answering this question