The British Raj is an informal term for the British colonial administration of most of the Indian subcontinent, or present-day India, Pakistan and Bangladesh, also included from 1886 was Burma. It lasted from 1858, when the rule of the British East India Company was transferred to the Crown, until 1947, when British India was partitioned into two states, India and Pakistan, each of which was granted full independence. Although Sri Lanka (then Ceylon) is on the Indian subcontinent, it is not counted part of the Raj, as it was ruled as a Crown Colony from London rather than by the Viceroy of India as a part of the Indian Empire. On the other hand, Burma, though not part of the subcontinent, was administered along with the Raj until the 1930s.
India gained full independence from British rule in 1947, later becoming a republic in 1950.