Built on the site of a fortress dating from the 13th century by Adam of Říčany, renovated in the 17th century in the Baroque style