Partition of India potential for increased violence, the new viceroy, Louis Mountbatten, advanced the date for the transfer of power, allowing less than six months for a mutually agreed plan for independence. In June 1947, the nationalist leaders, including Nehru and Abul Kalam Azad on behalf of the Congress, Jinnah representing the Muslim League, B. R. Ambedkar representing the Untouchable community, and Master Tara Singh representing the Sikhs, agreed to a partition of the country along religious lines in stark opposition to Gandhi's views. The predominantly Hindu and Sikh areas were assigned to the new India and predominantly Muslim areas to the new
India–Pakistan relations nations were formed—the Dominion of India and the Dominion of Pakistan. The subsequent partition of the former British India displaced up to 12.5 million people, with estimates of loss of life varying from several hundred thousand to 1 million. India emerged as a secular nation with a Hindu majority population and a large Muslim minority, while Pakistan emerged also as a secular nation with an overwhelming Muslim majority population; later becoming an Islamic republic although its constitution guarantees freedom of religion to people of all faiths. Soon after their independence, India and Pakistan established diplomatic relations but the violent partition