Krustpils Castle (Kreutzburg) is one of the best preserved medieval castles in Latvia. The first written reference of the Krustpils dates from 1237, when the Archbishop of Riga built a castle named Kreutz. In 1359, the Livonian order took seven castles belonging to the Riga Archbishopric, being Krustpils among them. During the Livonian war in 1559 the castle was devastated.
When the Livonian state was dissolved, Krustpils became property of the Polish-Lithuanian Commonwealth from 1561 to 1772, while the opposite Jēkabpils was part of the Duchy of Courland and Zemgale. The difference between the Latgalian language and the Selonian dialect of the inhabitants on either side of the Daugava River remains as of today. In 1585,Stephen Báthory of Poland granted a large area which included Krustpils to general Nikolai von Korff, whose family owned the castle until the Latvian agrarian reforms of 1920 came into effect. As Krustpils castle became a residence of landlords, it gradually lost its medieval character.
In the 18th century the castle got a representative look when Baroque elements were added to exterior of the castle. At the time of the Russo-Turkish War from 1877 to 1878, there was a camp for Turkish prisoners of war, many of whom settled here permanently.
Krustpils castle together with other buildings of this complex was transferred to the Latvian army after 1920 and the Latgale artillery regiment was located there. During the Second World War infirmary of the German army was located there. The Military hospital of the Red Army was placed to Krustpils after August 1944.
During the Soviet times regiments of Soviet army were located in the castle such as the 16th regiment of long-range intelligence aviation and main storehouses of the 15th air regiment. For 50 years the premises were not managed and were close to be considered as ruins. After 1991 there has been ongoing active investigation and renewal of the castle.
References:The Château de Foix dominates the town of Foix. An important tourist site, it is known as a centre of the Cathars. Built on an older 7th-century fortification, the castle is known from 987. In 1002, it was mentioned in the will of Roger I, Count of Carcassonne, who bequeathed the fortress to his youngest child, Bernard. In effect, the family ruling over the region were installed here which allowed them to control access to the upper Ariège valley and to keep surveillance from this strategic point over the lower land, protected behind impregnable walls.
In 1034, the castle became capital of the County of Foix and played a decisive role in medieval military history. During the two following centuries, the castle was home to Counts with shining personalities who became the soul of the Occitan resistance during the crusade against the Albigensians.