By the end of World War Two, Nehru was recognised as Gandhi's successor. He played a central role in the negotiations over Indian independence. He opposed the Muslim League's insistence on the division of India on the basis of religion.