William Lyon Mackenzie
The township of York, which until 1793 had been known as "Toronto", incorporated as a city (meaning it received local self-government) on March 6, 1834, taking the name of "the City of Toronto" to distinguish it from New York City and the dozen other settlements named 'York' in Upper Canada. The Tories and the Reformers fielded candidates for Toronto's first municipal election, held on March 27, 1834, with the Reformers winning a majority on the Toronto City Council. Mackenzie was elected as an alderman. The City Council then met to decide who should become mayor. Mackenzie, after being nominated by Franklin Jackes, defeated John Rolph in the vote and thereby became the first Mayor of Toronto.
Greater Toronto Area
The first large influx of European settlers to settle the region were the United Empire Loyalists arriving after the American Revolution, when various individuals petitioned the Crown for land in and around the Toronto area. In 1787, the British negotiated the purchase of more than a quarter million acres (1,000 km²) of land in the area of Toronto with the Mississaugas of New Credit. York County, would later be created by Governor John Graves Simcoe in 1792, which would at its largest size, comprise all of what is now Halton Region, Toronto, Peel Region, York Region and parts of Durham Region. The Town of York (present-day Toronto) would later be attacked by American forces in the War of 1812 in what is now known as the Battle of York, in 1813.