He distinguished himself at the capture of Fort George from the British, near the mouth of Niagara River in Canada on May 27, 1813, while serving as an artillery officer at Fort Niagara. He would later carry the captured British flags to President James Madison. Upon his arrival in Washington, Armistead was ordered to "take command of Fort McHenry."