13th century the island of Lastovo was added to the original territory. On 22 January 1325, Serbian king Stefan Uroš III issued a document for the sale of his maritime possessions of the city of Ston and peninsula of Pelješac to Ragusa. In 1333, during the rule of Serbian king Stefan Dušan (Stefan Uroš IV, r. 1331–1355), the two possessions were handed over to Ragusa. In January 1348, the Black Death struck the city and decimated the urban population. History Independence from Venice (1358) In 1358, the Treaty of Zadar forced Venice to yield all claims to Dalmatia. The city accepted the mild hegemony of King Louis I of Hungary. On 27 May 1358, the final agreement was reached at Visegrád between Louis and the Archbishop Ivan Saraka. The city recognized Hungarian sovereignty, but the local nobility continued to rule with little interference from the Hungarian court at Buda. The Republic profited from the suzerainty of Louis of Hungary, whose kingdom was not a naval power, and with whom they would have little conflict of interest. The last Venetian conte left, apparently in a hurry. Although under the Visegrád agreement Dubrovnik was formally under the jurisdiction of the ban of Croatia, the city successfully resisted both the royal and ban authority. In 1399, the city acquired the area between Ragusa and Pelješac, called the Primorje (Dubrovačko primorje) with Slano (lat. Terrae novae). It was purchased from Bosnian King Stephen Ostoja. A brief war with Bosnia in 1403 and 1404 ended with Bosnian withdrawal. Between 1419 and 1426, the Konavle region, south of Astarea (Župa dubrovačka), including the city of Cavtat, was added to the Republic's possessions. In the first half of the 15th century Cardinal Ivan Stojković (Johannes de Carvatia) was active in Dubrovnik as a Church reformer and writer. Trading with the Bosnian kingdom was at a peak, and the largest caravan trade between Podvisoki and Ragusa would happen in 1428. That year, on 9 August, Vlachs committed to Ragusan lord Tomo Bunić, that they would deliver 600 horses with 1500 modius of salt. Delivery was meant for Dobrašin Veseoković, and Vlachs price was half of delivered salt. Ottoman suzerainty In 1430 and 1442, the Republic signed short-term arrangements with the Ottoman Empire defining its status. In 1458, the Republic signed a treaty with the Ottomans which made it a tributary of the sultan. Under the treaty, the Republic