Despite Lafitte warning the other Baratarians of a possible military attack on their base of operations, a United States naval force successfully invaded in September 1814 and captured most of his fleet. Later, in return for a legal pardon, Lafitte and his fleet helped General Andrew Jackson defend New Orleans during the Battle of New Orleans during the War of 1812, as British forces sought access to the Mississippi River. After securing victory, Jackson paid tribute to the Lafitte brothers' efforts, as well as those of their fellow privateers, in despatches.