Kastelburg castle was built between 1260 and 1270 by the Lords of Schwarzenberg. Like the Schwarzenburg on the opposite side of the valley its purpose was to defend the town Waldkirch and to control the trade route through the Elz valley.
The first inhabitant of the castle was Johann I of Schwarzenberg. The Schwarzenbergs died out already in 1345 and the castle was sold to Martin Malterer from Freiburg who fell in 1386 in the Battle of Sempach. In 1429 the castle was passed on to Berthold of Staufen.
In the Thirty Years' War the castle was destroyed by troops of the Kaiser on 14 March 1634 so that it did not fall into the hands of the advancing Swedish troops.
In recent years attempts have been made to conserve the edificial structure of the ruin that is standing romantically above the historic center of Waldkirch.
References:Rosenborg Palace was built in the period 1606-34 as Christian IV’s summerhouse just outside the ramparts of Copenhagen. Christian IV was very fond of the palace and often stayed at the castle when he resided in Copenhagen, and it was here that he died in 1648. After his death, the palace passed to his son King Frederik III, who together with his queen, Sophie Amalie, carried out several types of modernisation.
The last king who used the place as a residence was Frederik IV, and around 1720, Rosenborg was abandoned in favor of Frederiksborg Palace.Through the 1700s, considerable art treasures were collected at Rosenborg Castle, among other things items from the estates of deceased royalty and from Christiansborg after the fire there in 1794.
Soon the idea of a museum arose, and that was realised in 1833, which is The Royal Danish Collection’s official year of establishment.