A 1704 campaign by Kuruc forces liberated much of Hungary from Austrian rule and established numerical parity with the Austrians.
As a means of counterbalancing Austrian power, Louis XIV of France attempted to support the Kuruc rebels, sending troops and material support.