The city of Dürnstein and Dürnstein castle ruin are connected by a wall. The castle was built between 1140-1145 by Hadmar I Kuenring and blasted by Sweden under General Torstenson in 1645. You can see a model of the city and the ruins at Dürnstein Abbey.
Dürnstein castle is known from the legend about Richard the Lionheart. The legend tells, that the English King Richard the Lionheart tore up the Austrian flag on the return journey of his crusade and refused to share the spoils of war with Leopold V. Sure, Leopold V. held the English king in the castle 1192-1193. The Royal prisoner could receive travelling singer (troubadours) for his entertainment, resulted in probably later the legend of Blondel singer. His faithful minstrel moved from Castle to Castle, until he discovered his King in Dürnstein, by singing a song verse, the prisoner added. Richard the Lionheart was released after a ransom of 150,000 Silver marks in freedom.