Карло I Токко
During this period the Despotate of Epirus was ruled by Thomas II Preljubović, who was in an open conflict with Gjin Bue Shpata. In 1375, Gjin Bue Shpata started an offensive in Ioannina, but he couldn't invade the city. Although Shpata married with the sister of Thomas II Preljubović, Helena their war did not stop. After the death of Gjin Bua Shpata in 1399, the Despotate of Arta weakened continuously. Among the animosities with the rulers of Janina Gjin's successor, Muriq Shpata, had to deal with the intentions of the Venetians and of Count Carlo I Tocco of Cefalonia. In 1416 he defeated Jakup Shpata and conquered Arta, ending the Shpata dynasty.