During the Middle Ages, an Old Prussian fort called Malcekuke was located near the current site of Pieniężno. The Teutonic Knights built an Ordensburg castle near Malcekuke in 1302. Both the castle and the town which developed nearby were destroyed during the war between the Teutonic Order and the Kingdom of Poland in 1414. During the Thirteen Years' War, Mehlsack surrendered to the Order, and the castle burned down during Poland's recapture of the town. From 1589-1599, Prince Andrew Cardinal Báthory of Transylvania, cousin of Sigismund Báthory, was the administrator for the castle. In 1550, the Prussian army laid siege to the city and partially burned it down.
The town was captured by Swedish troops in 1626 during the Polish-Swedish War of 1625-29, recovered by Hetman Stanisław Rewera Potocki, and then had its castle partially destroyed by Swedish troops in 1627. The castle was restored in 1640 with Baroque gables, and its function changed from being a fortress to being a château.
During the 19th and 20th centuries the castle lost some of its Gothic and Baroque features, and in 1870 its eastern and southern wings were demolished after extensive deterioration. The remainder of the castle was used as administrative offices for Prussianofficials. From 1920-31 the western wing was renovated so the castle could be used as a school and museum. In 1945, Mehlsack, including its castle, was 90% destroyed by fighting during World War II and was conquered by the Soviet Red Army from Nazi Germany.
References:The Temple of Edfu is one of the best preserved ancient shrines in Egypt. It was built in the Ptolemaic Kingdom between 237 and 57 BC.
Edfu was one of several temples built during the Ptolemaic Kingdom, including the Dendera Temple complex, Esna, the Temple of Kom Ombo, and Philae. Its size reflects the relative prosperity of the time. The present temple initially consisted of a pillared hall, two transverse halls, and a barque sanctuary surrounded by chapels. The building was started during the reign of Ptolemy III Euergetes and completed in 57 BC under Ptolemy XII Auletes. It was built on the site of an earlier, smaller temple also dedicated to Horus, although the previous structure was oriented east–west rather than north–south as in the present site.