Stephen Tvrtko, the founder of the "Bosnian kingdom", was able in 1389 to annex the Adriatic littoral between Cattaro and Sebenico (Šibenik), and even claimed control over the northern coast up to Fiume (Rijeka) except for the Venetian-ruled Zara (Zadar), and his own independent ally, Ragusa (Dubrovnik). This was only temporary, as the Hungarians and the Venetians continued their struggle over Dalmatia as soon as Tvrtko died in 1391.