Input (grade 9): Her birth came as a blow to her father, King Frederick II of Denmark, who was desperately hoping for a son.
Output (grade 7): Her birth came as a blow to her father, King Frederick II of Denmark, who had been hoping for a son.