The control the French had over Canada was handed over to Great Britain in 1763 when the Treaty of Paris ended the Seven Years' War in America.
On February 1, 1796, the capital of Upper Canada was moved from Newark (now Niagara-on-the-Lake) to York (now Toronto), which was judged to be less vulnerable to attack by the Americans.