Harald got wealthy during his time in the Byzantine Empire. He shipped the money to Yaroslav in Kievan Rus' for safekeeping. He finally left the Byzantines in 1042. He arrived back in Kievan Rus' to prepare his campaign of reclaiming the Norwegian throne. In his absence Olaf's illegitimate son Magnus the Good had got the throne. Magnus had also become king of Denmark.