The mayor of New York City is elected in early November every four years, in the year immediately following a United States presidential election year, and takes office at the beginning of the following year. The city, which elects the mayor as its chief executive, consists of the five boroughs (Manhattan, The Bronx, Brooklyn, Queens and Staten Island), which consolidated to form "Greater" New York on January 1, 1898. The consolidated city's first mayor, Robert A. Van Wyck, was elected with other municipal officers in November 1897. Mayoral elections previously had been held since 1834 by the City of Brooklyn and the smaller, unconsolidated City of New York (Manhattan, later expanded into the Bronx). Eric Adams took office 12:01 AM on January 1, 2022 at a private swearing-in, followed by a public ceremony later in the day. He is the second Black mayor in the history of the city. He follows Bill de Blasio, who served two consecutive terms after being elected in 2013 and for a second term in 2017. Overview Scope of this article The vast bulk of this page's contents is statistical: the main results, citywide and by borough, of each of the 32 elections to the Mayoralty of the City of New York since Greater New York was consolidated from the five boroughs in 1897-1898. For many years, but not all, there are also results for minor candidates and for the different parties nominating the same major candidate. (Because minor parties' votes are not uniformly available, totals and thus percentages can be slightly inconsistent, either between different elections or between individual boroughs and the entire city in the same election.) There are brief comments about some of the elections, and separate articles have been written for those of 1917, 1977, 1997, 2001, 2005, and 2009. Different elections are compared in many of the individual notes, in two summary tables and in one specialized table. New York City's mayoral elections have been marked by an interplay of factors that are magnified by the size of the population. There was a history of a large socialist vote, there is a history of tension between 'regular' and 'reform' politicians, and there has been electoral fusion, a factor not seen in most of the rest of the United States, with a resulting plethora of smaller, yet influential, third parties. Terms and term limits (since 1834) Direct elections to the mayoralty