Dalmatian city-states
At the beginning of the seventh century, the Avars with some Slav tribes devastated and conquered the Roman province of Dalmatia. The local Latin population survived only in the coast and islands of Dalmatia. There they created 8 little cities that maintained political links with the Byzantine Empire, that defended these cities allowing their commerce.