The castle dates back to the 16th century when the Ottoman Turks established the Ottoman province of Bosnia.
It was taken (bought?) by a member of the Habsburg family (Lother von Berks) who belonged to the Order of Malta and was officer of the Austria-Hungarian monarchy. He is responsible for an additon to the castle.
Ownership of the castle is not clear, but the cities Cazin and Ostrožac are permitted to use the castle grounds for local concerts and entertainment.