Partition of India in the United Provinces (where Muslims were attacked by Hindus), and on to Rawalpindi in March 1947 in which Hindus were attacked or driven out by Muslims. The British Prime Minister Attlee appointed Lord Louis Mountbatten as India's last viceroy, who was given the task to oversee British India's independence by June 1948, with the instruction to "avoid" partition and "preserve" a United India, but with adaptational authority to ensure a British withdrawal with minimal setbacks. Mountbatten hoped to revive the Cabinet Mission scheme for a federal arrangement for India. But despite his initial keenness for preserving the center the
Dominion of India Indian nation and the establishment of the Dominion of India and the Dominion of Pakistan was a major victory for the Swarajis. Nevertheless, the Partition was controversial among the people, and resulted in significant political instability and displacement. Most of the 565 princely states within Indian territory acceded to the Dominion of India. The Hindu-majority Junagadh State located in modern-day Gujarat attempted to accede to Pakistan under Nawab Sir Muhammad Mahabat Khanji III, who was a Muslim. It was annexed militarily by the Indian government. Similarly, the State of Hyderabad sought to remain independent and was also annexed by India