 In the late 1270, it was conquered by King Ottokar II of Bohemia.In 1278, after the defeat of Ottokar, it became property of Rudolph of Habsburg.In the 15th century it was almost completely demolished and rebuilt with a complete wall and towers at the entrance, where a drawbridge was placed.