Input (grade 4): Only then was her coffin shifted to Agra.
Output (grade 5): After she died, Shah Jahan went into mourning for a year.