Input (grade 9): Her former husband Matthew continued to reign as Count of Boulogne until his death in 1173, when their daughter Ida became the Countess.
Output (grade 5): After Marie died, Matthew continued to be the Count of Boulogne until 1173.