Afghanistan became a member of the United Nations in 1946. Under the Islamic Republic of Afghanistan, it enjoyed cordial relations with a number of NATO and allied nations, particularly the United States, Canada, United Kingdom, Germany, Australia, and Turkey. In 2012, the United States and Afghanistan signed their Strategic Partnership Agreement in which Afghanistan became a major non-NATO ally. Relations with Pakistan were often tense for various reasons such as the Durand Line border issue and alleged Pakistani involvement in Afghan insurgent groups. Afghanistan also had diplomatic relations with neighboring China, Iran, Tajikistan, Turkmenistan, and Uzbekistan, as well as with regional states such as Bangladesh, Japan, Kazakhstan, Nepal, Russia, South Korea, and the UAE.