The Mughal Empire dominated most of northern India from the sixteenth to the eighteenth centuries. The Mughal rulers practiced the Muslim religion, but most of the population they governed practiced Hinduism. Even so, the Mughals succeeded in their domain. They worked to bring Muslims closer to Hindus in a united India.