One complicating factor: are you referring to the UK proper, or the British empire?
If the latter, then it wouldn't have happened until at least 1947, when India gained its independence.