 A first castle at the site was erected by the Teutonic Knights in the early 13th century, then the seat of a commandry within their Bohemian bailiwick.In the early 16th century it passed to the Moravian noble house of Kaunitz ("Kounicové") who had it rebuilt in a Renaissance style.The present-day palace with 115 rooms was erected from 1696 onwards according to plans designed by the Italian architect Domenico Martinelli.