Pakistan. From then until the eighteenth century various foreign invasions brought Islam to the subcontinent; however, east of the Indus River Valley a majority of the Hindu population resisted conversion, thus sowing the seeds for the eventual partition of India.