In June 1812, the United States of America declared war on Britain and invaded its colony of Upper Canada. Britain was already locked in a life and death struggle with Napoleon in Europe, leaving Upper Canada poorly defended and vulnerable to attack.