The Mayor of the City of New York is head of the executive branch of New York City's government. The mayor's office administers all city services, public property, police and fire protection, most public agencies, and enforces all city, state and federal laws within New York City.
The budget overseen by the mayor's office is the largest municipal budget in the United States at $70 billion a year. The city employs 325,000 people, spends about $21 billion to educate more than 1.1 million students (the largest public school system in the United States), levies $27 billion in taxes, and receives $14 billion from the state and federal governments.
The mayor's office is located in New York City Hall; it has jurisdiction over all five boroughs of New York City: Manhattan, Brooklyn, the Bronx, Staten Island and Queens. The mayor appoints a large number of officials, including commissioners who head city departments, and his deputy mayors. The mayor's regulations are compiled in title 43 of the New York City Rules. According to current law, the mayor is limited to two consecutive four-year terms in office. It was changed from two to three terms on October 23, 2008, when the New York City Council voted 29–22 in favor of passing the term limit extension into law. However, in 2010, a referendum reverting the limit back to two terms passed overwhelmingly.
In 1665, Governor Richard Nicolls appointed Thomas Willett as the first mayor of New York. For 156 years, the mayor was appointed and had limited power. Between 1783 and 1821 the mayor was appointed by the Council of Appointments in which the state's governor had the loudest voice. In 1821 the Common Council, which included elected members, gained the authority to choose the mayor. An amendment to the New York State Constitution in 1834 provided for the direct popular election of the mayor. Cornelius W. Lawrence, a Democrat, was elected that year.
In 2000 direct control of the city's public school system was transferred to the mayor's office. In 2003 the reorganization established the New York City Department of Education.
Tammany Hall, which evolved from an organization of craftsmen into a Democratic political machine, gained control of Democratic Party nominations in the state and city in 1861. It played a major role in New York City politics into the 1960s and was a dominant player from the mayoral victory of Fernando Wood in 1854 through the era of Robert Wagner (1954–1965).
The mayor of New York City may appoint several deputy mayors to help oversee major offices within the executive branch of the city government. The powers and duties, and even the number of deputy mayors, are not defined by the City Charter. The post was created by Fiorello La Guardia (who appointed Grover Whalen as deputy mayor) to handle ceremonial events that the mayor was too busy to attend. Since then, deputy mayors have been appointed with their areas of responsibility defined by the appointing mayor. There are currently four deputy mayors, all of whom report directly to the mayor. Deputy mayors do not have any right to succeed to the mayoralty in the case of vacancy or incapacity of the mayor (the order of succession is the city's public advocate, then the comptroller).
The current deputy mayors are
"The mayor has the power to appoint and remove the commissioners of more than 40 city agencies and members of City boards and commissions." These include:
Several mayors have appeared in television and movies, as well as on Broadway, most notably in The Will Rogers Follies. In the 1980s and '90s, Mayors Ed Koch and Rudy Giuliani appeared on Saturday Night Live on several occasions, sometimes mocking themselves in sketches. Giuliani and Bloomberg have both appeared, as themselves in their mayoral capacities, on episodes of Law & Order. Giuliani also appeared as himself in an episode of Seinfeld. Giuliani has made cameos in films such as The Out-of-Towners and Anger Management. Bloomberg has appeared on 30 Rock, Gossip Girl, Curb Your Enthusiasm and Horace and Pete.
In 24th episode of The Adventures of Super Mario Bros. 3, "Recycled Koopa", King Koopa dumps his garbage into the Brooklyn and the southern tip of Manhattan (since it seen falling onto City Hall). The people of New York start transforming into Koopa Zombies, and when the brothers try to go to the mayor for help, he, too, succumbs to the toxic waste. This episode aired during the reign of David Dinkins, but the depiction of the mayor seems to be a generic old human man and not based on Mayor Dinkins himself.