1324. In 1373, the region became part of the Czech Crown Lands, ruled by the Luxembourg dynasty. In 1402, the Luxembourgs reached an agreement with Poland in Kraków, according to which Poland was to purchase and re-incorporate the region, but eventually the Luxembourgs pawned it to the Teutonic Order. The and the new town hall (1410) built during this time were some of the most aesthetically pleasing Gothic buildings in the New March. The strong town withstood an attack by the Hussites in 1433 during the Hussite Wars. In 1454, the Teutonic Knights sold the region to Brandenburg in order to raise funds for war against Poland. Modern age The town flourished economically during the German Renaissance beginning in the 15th century, but the majority of its population died from three plagues during the 16th and 17th centuries. It had several churches: the Augustinian monastery church, the Augustinian hospital church of the Holy Spirit, and the Churches of Saints Mary, Nicholas, George, and Gertrude. The town gradually converted to Lutheranism from 1539-1553 during the Protestant Reformation, resulting in the dissolution of the monastery in 1536. Its buildings were instead used as a hospital and school, while was used as a storehouse, before in 1690 it was reopened as a Protestant church. During the Thirty Years' War, the town was occupied at different times by the Imperial troops of Albrecht von Wallenstein and the Swedish troops of King Gustavus Adolphus, in the course of which the town was destroyed by 52%. After the destruction of the Church of St. Mary's tower by a lightning bolt in 1682, reconstruction commenced until 1692. In the church, a new Baroque pulpit was built in 1714, as well as an organ built by Joachim Wagner in 1734. The town began to revive economically after the foundation of the Kingdom of Prussia, becoming the seat of the government (Kriegs- und Domainenkammer) of the New March in 1759 during the Seven Years' War. In 1767 the city gates towards Schwedt and Bernikow were partially dismantled to provide stone for the construction of a military barracks at the former monastery. The town's inhabitants initially specialised in agriculture and forestry and later in weaving of fine textiles. That industry declined, however with the onset of industrialisation, around 1840. During the Napoleonic Wars, in 1806 the town was captured by a small French unit. The place became the county seat