Input (grade 6): The capital was the city of Mahabad in northwestern Iran.
Output (grade 6): Its capital was the Kurdish city of Mahabad in northwestern Iran.