Deputy mayor is an elective or appointive office of the second-ranking official in many local governments.
Many elected vice-mayors are members of the city council who are given the title and serve as acting mayor in the mayor's absence. Appointive deputy mayors serve at the pleasure of the mayor and may function as chief operating officers.
There may be within the same municipal government one or more deputy mayors appointed to oversee policy areas together with a popularly-elected vice mayor who serves as the mayor's successor in the event the office is vacated by death, resignation, disability, or impeachment.
In other cities the vice mayor presides over the city council, and may not vote except to break ties. Like the deputy mayor in other systems, the popularly elected vice mayor becomes acting mayor in the mayor's absence. As previously noted, in some few cities, this office is elected separately and does not entail the elevation by the council of one of its members to be speaker. In some U.S. cities, the mayor and deputy or vice mayor run together as a ticket similar to how president and vice president run at the national level.
In Israel, according to the Local Authorities (Election and Term of Mayor and Deputy Mayors) Act, 5735-1975, a Mayor is usually elected in "personal, general, direct, equal and secret elections", with election by a local council being made only if no candidate runs for mayor, a candidate for mayor in a single-candidate election is rejected (in Israel, unlike in the UK, if only one candidate runs he is not automatically elected, and voters would vote either for that candidate or against him), or both candidates advancing to the runoff received an equal number of votes and the tie remains unbroken after adding the number of first-round votes cast for them with the number of second-round votes cast for them. However, deputy mayors are always elected by the local council, of which one is (or, in certain local authorities two are) the Designated Acting Mayor, elected after nomination by the Mayor.
In Davao City, there is both an elected vice-mayor as a direct constitutionally mandated deputy of the Mayor of Davao City and appointed deputy mayors. The deputy mayors are appointed to administer each ethnic minorities situated in Davao City.