After being unpaid for months, the Hajdús rose up in the autumn of 1607. They offered their support to Drugeth, who refused to lead them. Gabriel also treated them with disdain and promised to protect Transylvania against them at the end of October. He soon mustered his troops and marched to Upper Hungary. He again approached the royal court, asking Rudolph to make him voivode of Transylvania. After the representatives of the Hajdús and the noblemen of Upper Hungary made a fifty-day truce in Ináncs at the end of the year, Gabriel began negotiations with the Hajdús. They concluded a treaty on 8 February 1608. Gabriel pledged to grant villages to the Hajdús in Partium, and they promised to support him in seizing Transylvania. He also promised to expel "heretics and idolaters" (Unitarians and Catholics) from the royal council. According to the contemporary Ferenc Nagy Szabó's memoirs, the Ottoman grand vizier soon decided to support Gabriel.