As the conflict rumbled on, the Hofkriegsrat president Prince Eugene of Savoy appointed the loyal Hungarian Field Marshal János Pálffy chief negotiator. In November 1710, Pálffy contacted the Kuruc commander Sándor Károlyi and achieved a truce on 13 January 1711.
However, the new rulers soon met with resistance by the Hungarian magnates led by Francis II Rákóczi, culminating in the rebellion led by Rákóczi, which from 1703 onwards spread throughout Upper Hungary (today mostly Slovakia), Transylvania and Carpathian Ruthenia. The rebels were decisively defeated by a Habsburg army under Field marshal Sigbert Heister, backed by Rascian forces, in the 1708 Battle of Trencsén.