Input (grade 11): The leaders of the dynasty were also Shia Ismaili Imams, hence, they had a religious significance to Ismaili Muslims.
Output (grade 7): The leaders of the dynasty were also Shia Ismaili Imams. They had a religious significance to Ismaili Muslims.