the duke decided to go on pilgrimage to Jerusalem. Although some of his supporters tried to dissuade him from undertaking the journey, he convened a council in January 1035 and had the assembled Norman magnates swear fealty to William as his heir before leaving for Jerusalem. He died in early July at Nicea, on his way back to Normandy. Duke of Normandy Challenges William faced several challenges on becoming duke, including his illegitimate birth and his youth: the evidence indicates that he was either seven or eight years old at the time. He enjoyed the support of his great-uncle, Archbishop Robert, as well as King Henry I of France, enabling him to succeed to his father's duchy. The support given to the exiled English princes in their attempt to return to England in 1036 shows that the new duke's guardians were attempting to continue his father's policies, but Archbishop Robert's death in March 1037 removed one of William's main supporters, and conditions in Normandy quickly descended into chaos. The anarchy in the duchy lasted until 1047, and control of the young duke was one of the priorities of those contending for power. At first, Alan of Brittany had custody of the duke, but when Alan died in either late 1039 or October 1040, Gilbert of Brionne took charge of William. Gilbert was killed within months, and another guardian, Turchetil, was also killed around the time of Gilbert's death. Yet another guardian, Osbern, was slain in the early 1040s in William's chamber while the duke slept. It was said that Walter, William's maternal uncle, was occasionally forced to hide the young duke in the houses of peasants, although this story may be an embellishment by Orderic Vitalis. The historian Eleanor Searle speculates that William was raised with the three cousins who later became important in his career – William fitzOsbern, Roger de Beaumont, and Roger of Montgomery. Although many of the Norman nobles engaged in their own private wars and feuds during William's minority, the viscounts still acknowledged the ducal government, and the ecclesiastical hierarchy was supportive of William. King Henry continued to support the young duke, but in late 1046 opponents of William came together in a rebellion centred in lower Normandy, led by Guy of Burgundy with support from Nigel, Viscount of the Cotentin, and Ranulf, Viscount of the Bessin. According to stories that may have legendary elements, an