these raids, and to repair the damage done by two destructive earthquakes in 522, Justinian initiated a wide-ranging programme of reconstruction and re-fortification: Hadrianopolis was rebuilt, albeit in reduced extent, and renamed Justinianopolis, while Euroea was moved further inland (traditionally identified with the founding of Ioannina), while Procopius claims that no less than 36 smaller fortresses in Epirus Vetus—most of them not identifiable today—were either rebuilt or built anew. Epirus from the Slavic invasions until 1204 In the late 6th century, much of Greece, including Epirus, fell under the control of the Avars and their Slavic allies. This is placed by the Chronicle of Monemvasia in the year 587, and is further corroborated by evidence that several sees were abandoned by their bishops by 591. Thus in the bishop, clergy and people of Euroea fled their city, carrying with them the relics of their patron saint, St. Donatus, to Cassiope in Corfu. Of the various Slavic tribes, only the Baiounitai, first attested , are known by name, giving their name to their region of settlement: "Vagenetia". Based on the density of the Slavic toponyms in Epirus, the Slavs must have settled in the region, although the extent of this settlement is unclear. Slavic toponyms occur mainly in the mountainous areas of the interior and the coasts of the Gulf of Corinth, indicative of the fact that this was the avenue used by most of the Slavs who crossed the Gulf into the Peloponnese. With the exception of some few toponyms on Corfu, the Ionian Islands seem to not have been affected by Slavic settlement. The linguistic analysis of the toponyms reveals that they date mostly to the early wave of Slavic settlement at the turn of the 6th/7th centuries. Due to scarcity of textual evidence, it is unclear how much the area was affected by the second wave of Slavic migration, which began in the middle of the 8th century due to Bulgar pressure in the northern Balkans. Slavic toponyms are nearly lacking in the mountains of Labëria (on the Kurvelesh plateau), and in the Ionian coast where the Lab Albanian villages neighbour with the Greek-speaking ones, therefore it can be assumed that the expansion of the Slavs did not reach the highlands of Labëria. As in eastern Greece, the restoration of Byzantine rule seems to have proceeded from the islands, chiefly Cephallonia, which was certainly under firm Imperial control