In October 1866 Alexander von Rohrscheidt (1808-1881) was nominated as commandant of the fortress. It lost its military value with the development of long-range guns at the beginning of the 19th century. The last commandant of Königstein Fortress was Lieutenant Colonel Heinicke who commanded it until 1913. The fortress had to guard the Saxon state reserves and secret archives during times of war. In 1756 and 1813 Dresden's art treasures were also stored at the Königstein. During the Second World War the large casemates of the fortress were also used for such purposes.