Which of the following was an important legacy of the War of 1812?