 After partitions of Poland, the Russian Empire took over the building in 1819 and converted it into a prison.Partially restored during the interwar period after Poland regained independence, it was taken over by the Nazi Germany and used as a prison and execution site of Soviet prisoners of war (about 6000 perished here).Afterwards, the Polish communist government transferred the building to the Świętokrzyski National Park, which renovated parts of them.