 From then on, the life within the tower slowly withered, until the fortress was evacuated altogether by the Ottomans in the mid-19th century.The majority of fortress, as it is today, originate from the 17th and 18th century, from the periods of frequent Ottoman–Habsburg wars.The fortress was damaged in both World Wars.