the project was made after the plans of the austrian general and architect ferdinand philipp von harsch, having the form of a star with six corners, built with three rows of underground pillboxes and several trenches, which in the past could have been flooded. construction lasted from 1763 to 1783, the building efforts were done with thousands of prisoners and with costs of 3 million gulden. the main entrance gate and buildings inside the fortress were built in the baroque style. inside the fortress, there is a catholic church, and in the surrounding church buildings were housed franciscan friars, under the patronage of st. john of capistrano. the last four monks lived in the fortress until 1861. today the church and adjacent buildings are more or less in a derelict state.