Input (grade 12): After centuries of war, its fortifications were demolished by its inhabitants.
Output (grade 11): After centuries of war, its fortifications were demolished by its residents.