India and Iran have shared a rich history of civilisational ties for many centuries. The close historical relations were, however, ruined by the British rule and the subsequent loss of contiguity owing to the creation of Pakistan. Iran's alliance with the Western bloc and India's adherence to the principles of non-alignment, albeit with leanings towards the Soviet Union, were the major determinants of Indo-Iranian bilateral relations until 1979. Pakistan, and its impression on the successive Iranian regimes, also played a major role in this relationship.