After the king and later emperor, Charles IV had Eulau Castle, which dominated the southern region, destroyed in 1348 by townsfolk from Aussig, he spent from 5 to 19 August 1359 on the Königstein and signed the authority for shipping rights. The castle was pledged several times in the 50 years that followed, including to the Donins. Because this family were enemies of the margraves of Meißen, the latter finally captured the castle in 1408 during the Dohna Feud that had been raging since 1385. But not until 25 April 1459 was the transfer of the castle to the Margraviate of Meißen finally completed once the Saxon-Bohemian border had been settled in the Treaty of Eger. Unlike the other rock castles in Saxon Switzerland the Königstein continued to be used by the Saxon dukes and prince-electors for military purposes. At one stage the Königstein was also a monastery. In 1516, Duke George the Bearded, a fierce opponent of the Reformation, founded a Celestine abbey on the Königstein, the Kloster des Lobes der Wunder Mariae. It closed again in 1524 - after the death of Duke George, Saxony became Evangelical.