 In 1755 he formally ended the marriage with Mary.The grandfather, William VIII, Landgrave of Hesse, granted the county of Hanau and its revenues to Mary and her sons.The young Prince Charles and his two brothers, William and Frederick, were raised by their mother and fostered by Protestant relatives since 1747.