At that time the Janissaries broke through the army of the attacking Hungarian armies, István Drugeth was captured, and Rákóczi was already considering retreating, when the Hungarian left wing rushed to the aid of the Germans, and thus managed to repel the Janissaries.
This passage describes a battle where the Janissaries initially made progress against the Hungarian forces.  However, the intervention of the Hungarian left wing prevented a complete victory for the Janissaries and allowed Rákóczi to potentially avoid defeat.