Fortified settlement mentioned in the Chronicle of Gallus Anonymus; from the 13th century it was gradually transformed into a castle, currently serving touristic and cultural purposes.