As the light was starting to fail the entire Habsburg force, with cavalry on each side and the infantry in the middle, launched an all-out assault from the rear, attacking in a crescent shape movement against the defensive position of the Ottomans. The left flank of the Imperial army commanded by General Guido Starhemberg penetrated between the Ottoman left and the bridge, trapping them against the river. The army's right wing was under the command of General Sigbert Heister. At the same time, Imperial forces led by Charles-Thomas de Vaudémont, attacked from the front and, after engaging in close-quarter fighting, broke through the trenches surrounding the Ottoman camp. The command of the Turkish cavalry was under Hungarian Imre Thököly, who also supported the sultan with some additional Kuruc cavalry.