The War of 1812 was fought between the British Empire and the United States from 1812 to 1815 on land in North America and at sea. The British forces were helped by Canadian militia (volunteers) and Native Americans. This was because British soldiers were busy fighting Napoleon in Europe. In nearly every battle, the British defeated the attacking American forces. In the beginning, the war increased levels of nationalism in both Canada and the United States.