 Later, the Byzantines formed the Theme of Dalmatia in the same territory.The Roman period ends with Avar and Croat invasions in the 6th and 7th centuries and the destruction of almost all Roman towns.Roman survivors retreated to more favourable sites on the coast, islands and mountains.