Its major port was made a free city in the 1920 Treaty of Rapallo between Italy and Yugoslavia, even though Italians were the majority in that city.
Pirates in this modern day country based in Senj were forced to disband after causing a namesake war between the Habsburgs and Venetians. In addition to the Uskoks, forces mostly from this country defeated a much larger Ottoman force at Sisak, triggering the Long War, after the peace achieved following the defeat of force's from this country at the Battle of Krbava Field. Although not Poland, it entered a pacta conventa with Coloman the Booklover of Hungary, which was nominally allowed for self-governance and a personal union with Hungary. Its major port was made a free city in the 1920 Treaty of Rapallo between Italy and Yugoslavia, even though Italians were the majority in that city. This country, which controls most of the Istrian Peninsula, possesses the city of Rijeka, which was once known as Fiume. For 10 points, name this country with capital at Zagreb.
Pirates in this modern day country based in Senj were forced to disband after causing a namesake war between the Habsburgs and Venetians.
Republic of {Croatia} [accept Republika {Hrvatska}]