The ex-King of Dublin and Man, Echmarcach mac Ragnaill, had the title Rex Innarenn (possibly "King of the Rhinns") attributed to him on his death in 1065. The western sections of Galloway had been firmly aligned with the Isle of Man, and Norse and Gaelic-Norse settlement names from the 10th and 11th centuries are spread all along the coastal lands of south-western "Scotland" and north-western "England". Magnus III In the late 11th century, the Norwegian King Magnus III Berrføtt ("Barefoot") led a campaign of subjugation in the Irish Sea area. In 1097, he sent his vassal, Ingimundr, to take control of the Kingdom of the Isles. However, when this man was killed, Magnus himself launched the first of his two invasions, the campaigns of 1098-1099 and of 1102-1103. In the former campaign, he took control of the Western Isles of Scotland, and deposed King Lagmann of Man. (Incidentally, this campaign also brought him to Wales, where he killed the Earl of Chester and the Earl of Shrewsbury, who were at war with the Prince of Gwynedd.) In this campaign, Magnus almost certainly brought Galloway under his suzerainty too. Magnus, moreover, gained the recognition of these conquests from the then-king of Alba, Etgair mac Maíl Coluim. On his second campaign, Magnus went to Man, and with a huge fleet attacked Dublin and attempted to force the submission of Muircertach mac Toirrdelbach, the Uí Briain King of Munster. The campaign resulted in an alliance between the two kings, and the arranged marriage of Magnus' son Siguðr to Muircertach's daughter Bjaðmunjo. The alliance mitigated the threat of Domnall Ua Lochlainn, King of Ailech, bringing stability to the Irish Sea world, and security to Magnus' new Irish Sea "Empire." However, it all went wrong when Magnus was killed on his way back to Norway on a minor raid in Ulster. Much of Magnus' work lay in ruins. Fergusan Dynasty Fergus of Galloway took the throne of Galloway some time between 1110 and 1120. When he died in 1161 the year after taking canonical habit in Holyrood, according to the Chronicle of Holyrood, and resigning Galloway to Scotland’s King Mael Coluim iv, Galloway was left to his two sons, Uchtred and Gille Brigte (Gilbert). In 1174 Uchtred died after being brutally blinded and mutilated by his brother Gille Brigte and Gille Brigte's son, Máel Coluim (Malcolm). When Gilla Brigte died a few years later, in