After the loss of statehood to the Ottoman Empire, Serbian resistance continued in northern regions (modern Vojvodina), under titular despots (until 1537), and popular leaders like Jovan Nenad (1526–1527). From 1521 to 1552, Ottomans conquered Belgrade and regions of Syrmia, Bačka, and Banat. Continuing wars and various rebellions constantly challenged Ottoman rule. One of the most significant was the Banat Uprising in 1594 and 1595, which was part of the Long War (1593–1606) between the Habsburgs and the Ottomans. The area of modern Vojvodina endured a century-long Ottoman occupation before being ceded to the Habsburg Empire, partially by the Treaty of Karlovci (1699), and fully by the Treaty of Požarevac (1718).