He led the Turkish cavalry at the battle of Slankamen, and in fact served valiantly but vainly against Austria during the remainder of the war, especially distinguishing himself at Zenta.
The successes of the Turks were not maintained, the Austrians inflicting on them a crushing defeat at Slankamen, where Mustafa Kuprili was killed, and driving them from Hungary.
Once more the road to Vienna lay open, but the grand vizier wasted the remainder of the year in fortifying Belgrade, and on August 18th, 1691, he was defeated and slain at Slankamen by the margrave of Baden.
Of Baden won the battle of Slankamen, and on the 11th of September 1697 Prince Eugene gained the crowning victory of Zenta.
But a few weeks after his accession Turkey sustained a crushing defeat at Slankamen from the Austrians under Prince Louis of Baden and was driven from Hungary; during the four years of his reign disaster followed on disaster, and in 1695 Ahmed died, worn out by disease and sorrow.