 Edward III had formed an alliance with Louis against Philip VI of France, but in 1341 the emperor deserted him.It is possible that Joan was betrothed to one of the sons Louis had with Margaret II of Hainaut, Philippa's older sister, and actually stayed in their court to be educated there.However, Edward III withdrew her in 1340.