 In that year, Edgar of Scotland signed a treaty with Magnus which settled much of the boundary between the Scots and Norwegian claims in the islands.Edgar formally acknowledged the existing situation by giving up his claims to the Hebrides and Kintyre.Following the intervention of Somerled and his death at the Battle of Renfrew the Kings of the Isles were weakened relative to the Scottish state, but more than 150 years later Norway intervened again, this time unsuccessfully.