title: Name of Toronto
context: John Graves Simcoe identified the area as a strategic location to base a new capital for Upper Canada, believing Newark to be susceptible to American invasion. A garrison was established at Garrison Creek, on the western entrance to the docks of Toronto Harbour, in 1793; this later became Fort York. The settlement it defended was renamed York on August 26, 1793, as Simcoe favoured English names over those of First Nations languages,[2] in honour of Prince Frederick, Duke of York.[2] Residents petitioned to change the name back to Toronto, and in 1834 the city was incorporated with its original name.[3] The name York lived on through the name of York County (which was later split into Metropolitan Toronto and York Region), and continues to live on through the names of several districts within the city, including Yorkville, East York, and North York, the latter two suburbs that were formally amalgamated into the "megacity" of Toronto on January 1, 1998.
question: When did York become Toronto?
answers: 1834