Answer:
In the War of 1812, caused by British restrictions on U.S. trade and America's desire to expand its territory, the United States took on the greatest naval power in the world, Great Britain.
Step-by-step explanation:
Causes of the war included British attempts to restrict U.S. trade, the Royal Navy's impressment of American seamen and America's desire to expand its territory. ... The ratification of the Treaty of Ghent on February 17, 1815, ended the war but left many of the most contentious questions unresolved.