▁border ▁of ▁Den mark ▁and ▁Germany . ▁ ▁S we yn ▁won ▁great ▁reputation ▁at ▁L yr sk ov ▁He ath , ▁and ▁had ▁the ▁Dan ish ▁nobles ▁crown ▁him ▁king ▁in ▁V ib org ▁in ▁J ut land . ▁He ▁was ▁defeated ▁by ▁Magn us ▁on ▁several ▁occasions , ▁and ▁had ▁to ▁fle e ▁to ▁Sweden . ▁Event ually ▁he ▁managed ▁to ▁return ▁and ▁establish ▁a ▁fo oth old ▁in ▁Sc ania . ▁▁ ▁The ▁war ▁between ▁Magn us ▁and ▁S we yn ▁last ed ▁until ▁ 1 0 4 5 , ▁when ▁Magn us ' ▁uncle ▁Har ald ▁Hard r ada ▁returned ▁to ▁Norway ▁from ▁ex ile . ▁Har ald ▁and ▁S we yn ▁joined ▁forces , ▁and ▁Magn us ▁decided ▁to ▁share ▁the ▁Norwegian ▁throne ▁with ▁Har ald . ▁In ▁ 1 0 4 7 ▁Magn us ▁died , ▁having ▁stated ▁on ▁his ▁death bed ▁that ▁his ▁kingdom ▁would ▁be ▁divided : ▁Har ald ▁would ▁get ▁the ▁throne ▁of ▁Norway , ▁while ▁S we yn ▁would ▁be ▁king ▁of ▁Den mark . ▁Upon ▁hearing ▁of ▁Magn us ' ▁death ▁S we yn ▁said , ▁" Now ▁so ▁help ▁me ▁God , ▁I ▁shall ▁never ▁yield ▁Den mark ". ▁ ▁Fe ud ▁with ▁Har ald ▁Hard r ada ▁Har ald , ▁unw illing ▁to ▁rel in qu ish ▁Den mark , ▁attacked ▁S we yn ▁and ▁fought ▁a ▁long ▁war . ▁Har ald ▁s ack ed ▁Hed eb y ▁ ▁in ▁ 1 0 5 0 , ▁and ▁also ▁s ack