After Napoleon's defeat in 1814, Britain was no longer at war with France, and restrictions on trade ended. The British suspended their policy of impressment of American sailors since there was no need to resume it. Americans believed that they had regained their honor and proclaimed victory in what they called a "Second War of Independence" after the defeat of the British at New Orleans, Baltimore, and Plattsburgh when the British tried to invade and take control of the three most important ports in America at the time, New Orleans, Baltimore, and New York City, respectively. It was perceived that Britain was not able to regain control of America in the same sense that the U.S. failed to take Canada. Some historians claim that this had never been plausible or even intended by the British during any of the war. However, the British and their ally Spain did not recognize the 1803 Louisiana Purchase because they voided all treaties and land deals made by Napoleon after Napoleon's defeat in 1814. Napoleon first pressured Spain to transfer Louisiana to France in 1800 and three years later France sold it to the United States. In January 1815 the only country in the world who recognized the Louisiana Purchase was the United States. Louisiana and West Florida, which was occupied by the United States in 1813 but they did not have to evacuate after the war, were not part of the Treaty of Ghent. The treaty only dealt with the U.S. and Canadian border.