 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.Principality of Gjirokastër (1386–1418) was a principality created by John Zenevisi in 1386 and abolished after the Ottoman invasion in 1434.