The Patriot War was a conflict along the Canada–United States border in which bands of raiders attacked the British colony of Upper Canada more than a dozen times between December 1837 and December 1838. This so-called war was not a conflict between nations; it was a war of ideas fought by like-minded people against British forces, with the British eventually allying with the US government against the Patriots.