For the most part, areas that were majority Muslim became Pakistan, and you can see this region in the west, and this region in the east, which would later get its independence in 1971 and become Bangladesh. And then for the most part, regions that had Hindu majorities became India. This wasn't a clean partition, because there were some territories, princely states, areas where the majority was not clear that became under contention. Kashmir, even to this day, is a point of contention between India and Pakistan. Much of the Indian subcontinent was very mixed with some areas being 60% Hindu or 40% Muslim or vice versa. So that catalyzed one of the largest migrations in human history, the number of people changing borders, sometimes becoming quite sectarian and quite bloody. But even after that, India is still one of the largest Muslim countries.