margherita married odoardo farnese, duke of parma on 11 october 1628. on 11 september 1646 odoardo died. their eldest son, ranuccio was not yet old enough to rule the duchy alone so margherita acted as regent until her son was old enough to govern alone. she died in parma on february 6 1679.