 Leopold I appointed Field Marshall Raimondo Montecuccoli to lead an army to Transylvania.Köprülü Mehmed offered a compromise to Leopold I, demanding the acknowledgement of the Ottoman conquest of Várad and of the sultans' suzerainty over Transylvania in return for appointing a new prince and stopping the punitive Ottoman military campaigns.His offer was accepted and a secret treaty confirmed the compromise.