sentences:  Miroslav (945–949) was killed by his ban Pribina during an internal power struggle, losing part of islands and coastal cities.Krešimir II (949–969) kept particularly good relations with the Dalmatian cities, while his son Stjepan Držislav (969–997) established better relations with the Byzantine Empire and received a formal authority over Dalmatian cities.His three sons, Svetoslav (997–1000), Krešimir III (1000–1030) and Gojslav (1000–1020), opened a violent contest for the throne, weakening the state and further losing control.