After the Danish conquest of England in 1016, Canute had Edward, said to be only a few months old, and his brother Edmund, sent to the Swedish court of Olof Skötkonung (who was either Canute's half-brother or his stepbrother), supposedly with instructions to have the children murdered. However, Olof was an old ally of Æthelred the Unready, the princes' grandfather, therefore he instead secretly sent the Æthelings to the Hungarian royal court of King Stephen I, fearing they were unsafe in the north, where Cnut's power was great. The boys found a peaceful home at the Hungarian royal court with King Stephen and Queen Gisela, until 1028. When they were about 12 years old, Cnut sent assassins to carry out his original orders to murder the boys. King Stephen sent the princes to Gardorika, the royal court of Kievan Rus', where they could be protected and educated by Yaroslav the Wise, Grand Prince of Kiev. In the 1030's they were joined by another exiled prince Andrew of Hungary. By 1043 Edward was elevated "to a position of sole responsibility where England's crown or dynastic alliances were concerned." Edmund on the other hand was in disfavor having caused a scandal.