As for India, Islam entered into the land east of the Indus River peacefully. Gradually Muslims gained political power beginning in the early 13th century.
But this period which marked the expansion of both Islam and Islamic culture came to an end with the conquest of much of India in 1526 by Babur, one of the Timurid princes. He established the powerful Mogul empire which produced such famous rulers as Akbar, Jahangir, and Shah Jahan and which lasted, despite the gradual rise of British power in India, until 1857 when it was officially abolished.
In India Muslims participated in the freedom movement against British rule along with Hindus and when independence finally came in 1947, they were able to create their own homeland, Pakistan, which came into being for the sake of Islam and became the most populated Muslim state although many Muslims remained in India. In 1971, however, the two parts of the state broke up, East Pakistan becoming Bangladesh. Source: Wikipedia