Input (grade 5): Years after his marriage to Gemma, he met Beatrice again.
Output (grade 5): Years after Dante's marriage to Gemma he met Beatrice again.