The cities of Zara (Zadar), Spalato (Split), Trau (Trogir) and Ragusa (Dubrovnik) and the surrounding territories each changed hands several times between Venice, Hungary and the Byzantium during the 12th century.