It was founded in the 17th century by the Counts of Keglević and later owned by the Counts of Nadasdy, then Drašković and finally Bombelles (until 1945).