In the early 1800s, Britain and France were at war. Each side wanted to cut off the other's trade, so both seized American ships and their cargoes. The British navy was also short of sailors. Its captains stopped American ships at sea and forced thousands of sailors to serve on British warships. This practice, called impressment, angered many Americans, who saw it as an insult to their country's independence.
Trouble also grew in the West. As settlers kept moving onto Native American lands, the Shawnee leader Tecumseh worked to unite Native nations to resist them. Many Americans believed that British officials in Canada were giving these nations weapons. In Congress, young members known as the War Hawks demanded war with Britain.
In June 1812, Congress declared war. Hoping to take Canada from Britain, American armies tried to invade it, but every attempt to conquer it failed. In 1814, British troops burned the White House and the Capitol in Washington. In December 1814, the two sides signed the Treaty of Ghent. The treaty changed no borders. The treaty also said nothing about impressment. News crossed the ocean slowly, so in January 1815, General Andrew Jackson defeated a British army at New Orleans after the treaty had been signed.
The war still had lasting effects. Many Americans felt a new sense of national pride. With British goods cut off by the war, Americans built more of their own factories. Jackson's victory made him a national hero. In New England, many members of the Federalist Party had opposed the war, and after it ended the party lost support and faded away. Many historians say Native American nations lost the most. Tecumseh was killed in battle in 1813, and after the war Britain stopped aiding his allies. Settlers then pushed farther onto Native lands.