The War of 1812, the second and last American war against the British, was less successful than the Revolution had been. An invasion of Canada failed due to the over-reliance of using state militias, and U.S. troops were unable to stop the British from burning the new capital of Washington, D.C.. However, the Regular Army, under Generals Winfield Scott and Jacob Brown, proved they were professional and capable of defeating a major invasion by the regular British army in the Niagara campaign of 1814. The nation celebrated the Army's great victory under Andrew Jackson, at the Battle of New Orleans in January 1815, thus ending the war on a high note.