No, Mahatma Gandhi was not directly responsible for the partition of India. The partition of India in 1947 was primarily a political decision made by the British government, influenced by various factors such as religious tensions, communal violence, and political negotiations.
During the time leading up to India's independence from British rule, there were growing tensions between the Hindu and Muslim communities in the country. The demand for a separate nation for Muslims, called Pakistan, gained momentum under the leadership of Muhammad Ali Jinnah and the All India Muslim League. The British government, in consultation with various political leaders and communities, decided to partition India along religious lines to create two separate nations: India (with a Hindu majority) and Pakistan (with a Muslim majority).
Mahatma Gandhi opposed the idea of partition and advocated for a united India where people of all religions could coexist peacefully. He believed in the principles of religious harmony and fought against communal violence. Gandhi undertook various efforts, including fasting and promoting peace and communal harmony, to prevent the partition from happening. However, his influence alone could not prevent the political forces and communal tensions that ultimately led to the partition.
It is important to note that the partition of India resulted in widespread violence, displacement, and loss of life. The decision and its aftermath continue to be subjects of historical study and debate, involving the roles and responsibilities of multiple political leaders, communities, and the British government.