Input (grade 11): George's marriage to Sophia Dorothea was dissolved, not on the grounds that either of them had committed adultery, but on the grounds that Sophia Dorothea had abandoned her husband.
Output (grade 7): The marriage was ended in 1694, on the grounds that Sophia Dorothea had effectively abandoned George.