The Countess died in 1244 in the Abbey of Marquette, leaving no heirs. The rule of Flanders and Hainaut thus fell to her sister, Margaret II, Countess of Flanders, then to Margaret's son, Guy of Dampierre. Lille fell under the rule of France from 1304 to 1369, after the Franco-Flemish War (1297–1305).