 Harald and his men were welcomed by Grand Prince Yaroslav the Wise, whose wife Ingegerd was a distant relative of Harald.Badly in need of military leaders, Yaroslav recognised a military potential in Harald and made him a captain of his forces.Harald's brother Olaf Haraldsson had previously been in exile to Yaroslav following the revolt in 1028, and "Morkinskinna" says that Yaroslav embraced Harald first and foremost because he was the brother of Olaf.