 When Baldwin IX, Count of Flanders and Hainault, left on the Fourth Crusade in 1202, he left his western domains under his eldest daughter Joanna.Joanna inherited the counties on Baldwin's death and, despite two marriages, died without heirs in 1244.She was succeeded by her younger sister, the aforementioned Margaret.