 The chronicle also relates that Óláfr went to Rögnvaldr , who was also living in the Hebrides , and asked him for more land . Rögnvaldr 's response was , according to the chronicle , to have Óláfr seized and sent to William I , King of Scots , who kept him imprisoned for almost seven years . The chronicle states that , on the seventh year , William died and that just before his death ordered the release of all his political prisoners . William is known to have died on 4 December 1214 . The chronicle relates that upon gaining his freedom , Óláfr met with Rögnvaldr on Mann , and then set out on a pilgrimage with a significant number of noblemen . Óláfr 's intended destination is considered to have been the shrine of St James at Santiago de Compostela in Spain . 
