Input (grade 10): The following year he married Elizabeth Sandham, from a wealthy local family.
Output (grade 7): The next year he married Elizabeth Sandham, who came from a rich family.