Why was India divided into two different countries when it won independence from Britain?

2 answers

HELP MEH PLS I HAVE TO TURN THIS IS IN LESS THAN AN HOUR
To separate Hindus from Muslims