Ústí nad Labem was again burned down in 1583 and was sacked by the Swedes in 1639 amid the Thirty Years' War. It also suffered grievously during the Seven Years' War and was near the 1813 Battle of Kulm between France and the alliance of Austria, Prussia, and Russia during the Napoleonic Wars. As late as 1830, its population was only 1400.