Esztergom (as "Estergon") became the centre of an Ottoman sanjak controlling several counties, and also a significant castle on the northwest border of the Ottoman Empire – the main clashing point to prevent attacks on the mining towns of the highlands, Vienna and Buda. In 1594, during the unsuccessful but devastating siege by the walls of the Víziváros, Bálint Balassa, the first Hungarian poet who gained European significance, died in action. The most devastating siege took place in 1595 when the castle was reclaimed by the troops of Count Karl von Mansfeld and Count Mátyás Cseszneky. The price that had to be paid, however, was high. Most of the buildings in the castle and the town that had been built in the Middle Ages were destroyed during this period, and there were only uninhabitable, smothered ruins to welcome the liberators.