In 1937 Burma was split off from India and became a separate colony. In 1947 India gained independence, however the country was split into two states (India and Pakistan), with the southernmost section of the Burma-India border becoming that between Burma and East Pakistan (modern Bangladesh). Burma gained independence in 1948. In 1971 Bangladesh gained independence from Pakistan after a war and thereby inherited the border with Burma/Myanmar.