Krešimir was succeeded by Demetrius Zvonimir (1075–1089) of the Svetoslavić branch of the House of Trpimirović. He was previously a ban in Slavonia in the service of Peter Krešimir IV and later the Duke of Croatia. He gained the title of king with the support of Pope Gregory VII and was crowned as King of Croatia in Solin on 8 October 1076. Zvonimir aided the Normans under Robert Guiscard in their struggle against the Byzantine Empire and Venice between 1081 and 1085. Zvonimir helped to transport their troops through the Strait of Otranto and to occupy the city of Dyrrhachion. His troops assisted the Normans in many battles along the Albanian and Greek coast. Due to this, in 1085, the Byzantines transferred their rights in Dalmatia to Venice.