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:Dryburgh Abbey on the banks of the River Tweed in the Scottish Borders was founded in 1150 in an agreement between Hugh de Morville, Constable of Scotland, and the Premonstratensian canons regular from Alnwick Abbey in Northumberland. The arrival of the canons along with their first abbot, Roger, took place in 1152.
It was burned by English troops in 1322, after which it was restored only to be again burned by Richard II in 1385, but it flourished in the fifteenth century. It was finally destroyed in 1544, briefly surviving until the Scottish Reformation, when it was given to the Earl of Mar by James VI of Scotland. It is now a designated scheduled monument and the surrounding landscape is included in the Inventory of Gardens and Designed Landscapes in Scotland.
David Erskine, 11th Earl of Buchan bought the land in 1786. Sir Walter Scott and Douglas Haig are buried in its grounds.