 Alexander played both sides in the struggle between Óláfr and Rögnvaldr however , and encouraged one of his most powerful lords Alan , Lord of Galloway ( d . 1234 ) , to enter into the fray as an ally of Rögnvaldr . In 1225 , according to the chronicle , Rögnvaldr and Alan attempted to take possession of Óláfr 's Hebridean portion of the kingdom ; however , the Manxmen were unwilling to wholeheartedly aid the cause and nothing came of the expedition . A short time later the chronicle records that Rögnvaldr 's daughter was married to Alan 's son . Such a marriage , between Rögnvaldr 's daughter and Alan 's illegitimate son Thomas , gave Alan a stake in the kingship since Thomas was likely to succeed . The possibility of control over a future ruler on Mann led Alexander to lend his consent to the union . The marriage was beneficial to Rögnvaldr as well , since he could rely on Alan 's military might to fend off his troublesome half @-@ brother . Unfortunately for Rögnvaldr , the chronicle records that the Manxmen were angered by the marriage and they consequently appointed Óláfr as their king . At this point Rögnvaldr seems to have gone into exile in Galloway , at the court of his ally , Alan . The chronicle dates Óláfr 's kingship to have begun in 1226 , and that he ruled the kingdom peacefully for the next two years . 
