 In this capacity, he served as tutor and guardian of the young Margaret, sister of Joanna, Countess of Flanders and Hainault.He later married Margaret in 1212, though she was only ten years old and the marriage could not be consummated.Neither Joanna nor Count Ferdinand gave their consent, and tried to have the marriage stopped, they failed.