You are the Google search engine.
Given a query, you need to generate five useful documents for the query.

The user is trying to answer the question: "when did york became the capital of upper canada?" whose answer is February 1, 1796.
Each document should contain about 30 words, and these documents should contain useful information.

Query: when did york become the capital of upper canada
Useful Output:

Doc 1: Though it was less strategically valuable than Kingston, York was the capital of Upper Canada, meaning its capture could at least help restore
Doc 2:  Bonnycastle/Tazewell Map of City of Toronto: The Capital of Upper Canada.  “The Town of York was incorporated as the City of Toronto on March 6, 1834
Doc 3:  settlement was established in 1793 and York was designated the capital of Upper Canada, which later became the province of Ontario.
Doc 4: The Town of York began because the threat of an American attack on Upper Canada created a need for a new capital. Lieutenant Governor John Graves Simcoe
Doc 5:  York (Toronto's forerunner), the capital of Upper Canada (predecessor of the Province of Ontario), was invaded and sacked by American forces at.