qnli question: When did India and Pakistan gain independence? sentence: Though Britain and its allies were ultimately victorious in 1945, the United States and the Soviet Union rose as pre-eminent world powers and the British Empire declined.