Input (grade 8): Valdemar I of Denmark becomes king of all Denmark and restores and rebuilds the country.
Output (grade 7): Valdemar I became king of all Denmark and restored and rebuild the country.