Input (grade 8): He became engaged to his future wife, Emilie Rouanet-Kummer, whom he had met when still at school.
Output (grade 8): At that time he became engaged to his future wife, Emilie Rouanet-Kummer, whom he had first met when still at school.