Complex sentence: Norse and Gaelic Viking raiders gained control of much of the area, inserting the Danelaw--during this time there were close relations with Mann and the Isles, Dublin and Norway.
Split into simpler sentences: Norse and Gaelic Viking raiders gained control of much of the area, creating the Danelaw. During this time there were close relations with Mann and the Isles, Dublin and Norway.