 After the Ottoman conquest of Várad, Kemény rose up against Barcsay with the remnants of Rákóczi's supporters.The Diet elected him prince on 1 January 1661.On 23 April, he also persuaded the Diet to quit Ottoman suzerainty and seek Leopold I's protection.