Original sentence: Subsequent Venetian attacks were repulsed, and by 1202 the city was economically independent, under the protection of King Emeric of Hungary and Croatia ([[Kingdom of Croatia (Medieval)|Croatia] had been invaded and conquered by Hungary in IX century)
Edited sentence: Subsequent Venetian attacks were repulsed, and by 1202 the city was economically independent, under the protection of King Emeric of Hungary and Croatia (the two were in a personal union)