In 1812, thirty-six years after the US declaration of independence, the United States declared war on Britain and her territory of Upper Canada. With the British fighting against Napoleon in Europe this territory was poorly defended and vulnerable, with Thomas Jefferson declaring that "victory will be a mere matter of marching".