During the War of 1812, the British sent a large force to conquer the city, but they were defeated early in 1815 by Andrew Jackson's combined forces some miles downriver from the city at Chalmette's plantation, during the Battle of New Orleans. The American government managed to obtain early information of the enterprise and prepared to meet it with forces (regular, militia, and naval) under the command of Maj. Gen. Andrew Jackson. Privateers led by Jean Lafitte were also recruited for the battle.