During the Thirty Years' War the town was plundered by Austrian and Swedish troops. As a result of the war, only two residents remained in the town in 1639. After Frederick II of Prussia had conquered Silesia with "Landeshut" in 1742, his fierce opponent Maria Theresa of Austria once again struck back in the course of the Seven Years' War. In 1760 Austrian troops under the command of field marshal Laudon invaded the province and on June 23 defeated a Prussian corps under Heinrich August de la Motte Fouqué at the Battle of Landeshut.