Foreign relations of India (pre-1947)
Several Indian polities had maintained ties to the world for thousands of years, with periods of being invaded (generally through the northwest) increasing contact with the outside world toward the modern era.
In 1947, India became independent from British rule, and began executing its own foreign policy.