Which replaced the XXX?
Upper Canada
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.