shared the fate of the nearby city of Kłodzko (Kladsko, Glatz). It developed rapidly until the advent of the Hussite Wars in the early 15th century. The wars left the town depopulated by plagues, partially burnt and demolished by several consecutive floods. It was plundered by the forces of the Hungarian king Matthias Corvinus on his 1469 campaign against King George of Poděbrady. In 1475 a great fire destroyed the town completely. Modern times After the Lands of the Bohemian Crown had passed to the Habsburg monarchy, the area became a fief of the ruling Habsburg dynasty in 1567, though the local counts retained their powers. Habelschwerdt and the surrounding villages were gradually repopulated, mostly with settlers from Central Germany and Lesser Poland. It was not until the 16th century when the local economy went back on tracks, while the Protestant Reformation led to a strengthening of radical movements such as Schwenckfelder and Anabaptist groups. Because of major Lutheran influences it became one of the regional centres of Protestantism. In the late 16th century a new city hall was built and many of the town houses were rebuilt in a Renaissance style. The town also built several facilities like paved roads and a sewer system. However, the Thirty Years' War and stern measures of the Counter-Reformation damaged the city and ended the period of prosperity. During the Second Silesian War, Hungarian troops and Pandurs again devastated the town. On 14 February 1745, Prussian troops under General Hans von Lehwaldt defeated the Austrian Habsburg forces of Georg Oliver von Wallis nearby. After the Silesian Wars, Habelschwerdt, together with the County of Kladsko and most of Silesia, came under Prussian rule according to the 1763 Treaty of Hubertusburg. In the War of the Bavarian Succession, skirmishers from Austrian army commanded by Dagobert Sigmund von Wurmser fought there against the Prussian garrison, and one of the blockhouses caught fire, resulting in the destruction of most of the town in mid-January 1779. During the Napoleonic Wars, the town was occupied by French forces and housed a garrison of the Grande Armée until 1813. By 1818 the County of Kladsko was formally dissolved and Habelschwerdt was incorporated into the Prussian Province of Silesia. Although it was made the administrative seat of a rural district (Landkreis), comprising the southeastern parts of the former county, it was also struck by high taxes. It was not until the