Croatian–Venetian wars
When Louis the Great, the new young king (ruled 1342–1382), decided to expel Venetians from his country, he launched a large campaign in 1356–1358 and forced them to withdraw from Dalmatia.A few years later another warfare broke out, but ended with a new peace treaty of 839 among Doge Pietro Tradonico, Duke Mislav of Croatia and Prince Družak (Drosaico) of the Narentines.John the Deacon, Venetian Chronicler, wrote at the beginning of the 11th century that Domagoj was pessimus Sclavorum dux (meaning the worst Duke of Slavs), because of the latter's numerous wars, especially against the Venice and the Arabs.Having come to power, Doge Pietro II Orseolo began the period of southeastern expansion of Venice, refusing to pay tribute to Croats and launching military expeditions against them.After the death of King Stjepan Držislav in 997, Kingdom of Croatia was weakened due to the dynastic crisis and civil war that broke out among his three sons for the throne succession.The Venetian fleet led by Orseolo succeeded in taking over coastal towns from Rab (Arba) in the north to Dubrovnik (Ragusa) in the south, including islands of Vis (Issa), Lastovo (Lagosta) and Korčula (Curzola), either with using armed forces or calm surrender.A peace treaty was then concluded, according to which Zadar devolved upon Venice, while Biograd, Šibenik, Trogir and Split remained in the Kingdom of Croatia in personal union with Hungary.In the north, Venetians ruled western and southern Istria from the 13th and 14th century, after military interventions in major towns, as follows: in Pula in 1148, 1243, 1267, 1331 and 1397; in Rovinj in 1283, in Poreč in 1354, in Novigrad in 1270 and 1358, in Umag in 1269 and 1370.In 1347, King Louis I strengthened his position in Dalmatia by taking the strategically important fortress of Ostrovica, near Bribir, from the Šubić family and in return gave to them estates in the vicinity of Zrin.Following the dynasty crisis at the end of the 14th and the beginning of the 15th century, and the struggle for the crown between Sigismund of Luxembourg and Ladislaus of Naples, the latter sold in 1409 his rights over Dalmatia to the Republic of Venice for the sum of 100,000 ducats.