Greater Poland Province of the Polish Crown. Modern era In 1538 Nicolaus Copernicus visited the town when he accompanied Bishop Johannes Dantiscus. The 16th century was a period of peace, which ended abruptly with Swedish invasion in 1626. The Swedes overran the town several times but the inhabitants suffered most severely during the Deluge in the years 1655-1660. In 1772 the town was annexed by the Kingdom of Prussia in the First Partition of Poland. The population of the town numbered 1831. In 1807 Guttstadt was seized in turn by the French, the Prussians and the Russians. In the Battle of Guttstadt-Deppen on 5 and 6 June 1807, the Russian army under General Levin August, Count von Bennigsen attacked Marshal Michel Ney's French corps. Though badly outnumbered, Ney conducted an effective rear guard action and escaped to the southwest across the Pasłęka River with most of his troops. Napoleon Bonaparte spent a night in the Collegiate between 8 and 9 June 1807. The Collegiate chapter was dissolved and its properties were parcelled out on the strength of the edict issued by King Frederick William III of Prussia on 5 October 1810. In the years 1830-1834 the evangelical church was erected, mainly thanks to the donations of Frederick William III. It was not until 1812 that three Jewish families were allowed to settle in Guttstadt. In 1814 they bought land for a Jewish cemetery. In 1855, the town's synagogue was consecrated - serving the 240 community members. During World War II, Guttstadt was 65% destroyed during its capture by the Soviet Red Army and the NKVD. After the Potsdam Conference the town was again handed over to Poland and renamed to its historic Polish name Dobre Miasto. The town's German population was expelled towards the remainder of Germany, and many Poles displaced from former eastern Poland annexed by the Soviet Union settled in the town. On 1 August 1945 a Soviet garrison handed over power to Jan Majdecki, the first post-war mayor of the town. Main sights The Gothic collegiate complex built from 1357–1389, with a church on which Pope John Paul II conferred the title of minor basilica (1989). One of the tourist attractions beside the interior and the furnishings of the church is the organ with 49 tones and 3522 pipes. The former capitulary library houses a parish museum, which is open to visitors. It contains the remains of