[7][8] The city was of great importance to the Byzantine Empire, as the "key of Albania" and the main point of entry from Italy into the Balkans, a fact illustrated by the role it played in the Norman invasion under Robert Guiscard, in the early years of Alexios's reign.
[8][11] Later, in 1094, despite his military inexperience, John was charged with confronting raids by the Serbs under Vukan of Rascia into the Byzantine province.
John allowed himself to become involved in prolonged negotiations with the Serbian ruler, giving the latter valuable time to prepare his forces.
[8] John was probably still doux of Dyrrhachium in 1105/06, when he is recorded in the Alexiad, Anna Komnene's history of her father Alexios I's reign, to have been defeated in a campaign against the Dalmatians.
As the threat of a renewed Norman invasion by Guiscard's son, Bohemond, loomed, the emperor replaced John with his younger brother Alexios.