At the closure of World War II it was clear that European colonialism had run its course and Indian independence was inevitable. Independence was attained in 1947 but the struggle was bitter and divisive, especially in Bengal where the fight for self-government was complicated by internal religious conflict. The British, realizing any agreement between the Muslims and Hindus was impossible, decided to partition the subcontinent. That Bengal and Punjab, the two overwhelmingly Muslim regions, lay on opposite sides of India was only one stumbling block. The situation was complicated in Bengal where the major cash crop, jute, was produced in the Muslim-dominated east, but processed and shipped from the Hindu-dominated city of Calcutta in the west.