 Margaret officially invested William as count in 1247.In November of that year, William married Beatrice of Brabant, daughter of Henry II, Duke of Brabant and Marie of Hohenstaufen.They had no children.