Input (grade 7): The kingdom remained independent from around 1078 to 1375.
Output (grade 4): The country was independent from around 1078 to 1375.