Basil I
The Saracens attacked Ragusa in 866. The Ragusians asked Basil I for help, which he answered, sending a large fleet with his admiral Niketas Ooryphas. The pagan Narentines sacked a ship with emissaries returning from Constantinople, which enraged Basil I, resulting in him sending a fleet and subsequently subduing them. By 878, all of Dalmatia was under Byzantine rule (Theme of Dalmatia), and most of the land was under the religious jurisdiction of the Ecumenical Patriarchate of Constantinople.