They conscripted a lot of the people they didn't need for these jobs.
The brought in more people they they needed to do these jobs.
Following a conflict in India almost as old as Islam itself, a peaceful coexistence between Hinduism and Islam seems hard to achieve.