Original: Her former husband Matthew continued to reign as Count of Boulogne until his death in 1173, when their daughter Ida became the Countess.
Simplified: After Marie died, Matthew continued to be the Count of Boulogne until 1173.