Input (grade 4): Heinrich's mother, Luise Therese Sophie, died in 1831, when he was just 9.
Output (grade 6): His mother, Luise Therese Sophie Schliemann, died in 1831 when Heinrich was 9 years old.