What is Foreign relations of Pakistan?
{{update|date=January 2024}} {{Politics of Pakistan}} [[Pakistan]] is the second largest [[Muslim]] country in terms of population (behind [[Indonesia]]).<ref>{{Cite web|date=2019-03-08|title=Muslim Population By Country|url=https://www.worldatlas.com/articles/countries-with-the-largest-muslim-populations.html|access-date=2024-09-20|website=WorldAtlas|language=en-US}}</ref> Pakistan is the only Muslim country known to have [[Nuclear weapon|nuclear weapons]]. Pakistan is also an important member of the [[Organisation of the Islamic Conference|Organization of the Islamic Conference]]. Pakistan is an active member of the [[United Nations]].<ref>{{Cite web|title=The United Nations in Pakistan {{!}} United Nations in Pakistan|url=https://pakistan.un.org/en/about/about-the-un|access-date=2024-09-20|website=pakistan.un.org|language=en}}</ref> Pakistan had some problems with its foreign relations. Pakistan's relations with its neighbor, India is mostly not good. They have been fighting over the disputed territory of [[Kashmir]], over which they have fought two to three wars. Pakistan has also had difficult relations with neighbors [[Afghanistan]] and [[Iran]]. Pakistan has had a long and good relationship with [[People's Republic of China|China]]. Pakistan has interest over the [[Persian Gulf]] and has wide-ranging [[Bi-lateral diplomatic relations|bilateral]] relations with the [[United States]] and other Western countries. Pakistan distrusted the [[Soviet Union]] during much of the [[Cold War]]. Because of this Pakistan had strong relations with both the [[United States of America]] and the [[People's Republic of China]]. Pakistan was a member of the American-sponsored [[CENTO]] and [[SEATO]] military alliances. Pakistans' alliance with the United States was especially close after the Soviets [[Soviet invasion of Afghanistan|invaded]] the neighboring country of [[Afghanistan]]. In 1964, Pakistan signed the Regional Cooperation for Development (RCD) Pact with [[Turkey]] and [[Iran]], when all three countries were cl