Treaty of Vienna
On 23 June 1606, the Treaty of Vienna confirmed the autonomous status of the Principality of Transylvania under the suzerainty of the Ottoman Empire. Bocskai died on 29 December, naming Bálint Drugeth his heir in his last will, although the Treaty of Vienna also confirmed the right of the Diet of Transylvania to elect Bocskai's successor. The Diet of Transylvania stated that Bocskai's death had put an end to Sigismund's appointment, but confirmed his position as governor on 22 January 1607.