Input (grade 13): In 1826, the states of Thuringia were reorganised: the last ruler of Saxe-Altenburg died without an heir; the duke of Saxe-Hildburghausen became his successor, but he had to cede his own realm to Saxe-Meiningen.
Output (grade 9): In 1826, the Ernestine duchies were reorganised after the last ruler of Saxe-Gotha-Altenburg died without an heir.