Original: When India gained independence in 1947, Bengal was partitioned along religious lines. The western part went to India (and was named West Bengal) while the eastern part joined Pakistan as a province called East Bengal (later renamed East Pakistan, giving rise to independent Bangladesh in 1971).
Simplified: In 1947 Bengal, which was a province of India, was divided into West Bengal and East Bengal (which is now called Bangladesh).