His only legitimate son, the future Frederick VII, seemed unable to beget heirs, thus the duchies appeared likely to pass to the rule of the House of Oldenburg, which might have resulted in a division of Denmark.