sentence1: The Muslims tried to purify the Islamic practice of the Hindu rituals which had accrued over the years.
sentence2: While Muslims tried to purify Islamic practice of Hindu rituals, it had been going on for too many years to have much effect. 