William was a distant cousin of Edward the Confessor and wanted to be the next king. He claimed that both Edward and Harold had promised him the throne, but English supporters of Harold challenged this. When Edward was a boy in 1016, King Canute invaded England and Edward ran away to Normandy for safety.