 Increasing conflict between the Uskoks and Venice culminated in 1615 – 1617 Uskok War, which resulted in the resettling of the Uskoks, whose final years in Senj were marked by piracy and looting.Between 1684 and 1689, the Ottomans were forced to retreat from Lika and the entire hinterland of the region.In 1797 the Republic of Venice was abolished after the French conquest.