again was struck by great fire that destroyed 571 houses. To help rebuild the town, in 1621 the duke of Legnica granted the right to mint coins, a privilege the town enjoyed for two years. During the Thirty Years' War Goldberg changed hands several times and suffered especially in 1633, when Albrecht von Wallenstein, a former pupil of the gymnasium, beleaguered the city. After the war Goldberg needed almost 100 years to recover. Duke Louis IV of Legnica granted new privileges aiming to help the town prosper through the development of cloth production. After the dissolution of the Piast Duchy of Legnica in 1675, the town was integrated with the Bohemian (Czech) Kingdom. After it came under the authority of the Czech kings, in 1676 Leopold I confirmed all privileges, and in 1688 allowed the organization of an annual fair. In 1742 it was annexed by the Kingdom of Prussia in the First Silesian War. Late modern period During the Napoleonic Wars and Polish national liberation fights, in May 1807, Polish uhlans passed through the town. In 1810 the Prussian administration closed down the Bernardine monastery. On August 26, 1813, the armies of French marshal Macdonald was defeated near the town by the forces of Prussian general von Blücher. In 1848 riots and looting took place, and in 1849 an epidemic broke out. In 1862 the town of Silberberg was connected with Berlin by a telegraph. Goldberg became part of the newly formed German Empire in 1871 and at the end of the 19th century the town started to recover after almost 200 years of crisis. In 1884 the town was connected to Liegnitz (Legnica) by a rail road and by 1906 two additional lines were opened: to Świerzawa and Chojnów. In 1900 the first telephone line was started. At the same time various companies tried to recover the gold mining in and around the city, but the plans were soon abandoned. Instead the copper ore mines were opened, but they faced serious financial difficulties by the end of the 1920s. During the 1933 Reichstag elections about 25% of the inhabitants backed the Nazi Party. Historical population of Złotoryja World War II and recent history During World War II, the Germans created two branches of the Stalag VIII-A prisoner-of-war camp and two forced labour camps in the town. Among the prisoners were mainly Poles, French and Italians. The town survived