 His performance at the Battle of Chippawa had earned him national notoriety, and he was promoted to the brevet rank of major general and awarded a Congressional Gold Medal.In October 1814, he was appointed commander of American forces in Maryland and northern Virginia, taking command in the aftermath of the Burning of Washington.The War of 1812 came to an effective end in February 1815, after news of the signing of the Treaty of Ghent (which had been signed in December 1814) reached the United States.