John Kemény the Habsburg candidate to the Transylvanian throne, was trying to defeat the Ottoman vassal Michael I Apafi.
The commander of the Ottoman army was Grand Vizier Fazıl Ahmet Pasha (a member of Köprülü family).
[4] Fazıl Ahmet Pasha decided to march to Érsekújvár a major fort in Northern Hungary (now in Slovakia).
The popular saying "Strong (insistent) as a Turk in front of Nové Zámky", reflects the memory of conquest determination of the Ottomans.
According to the treaty of surrender, the residents of Érsekújvár were given free passage to Austria and a letter was written to the Austrian government to certify that the fort was defended bravely.