Pakistan's foreign policy is guided by its history, geography, and aspirations. Its key principles are developing friendly relations, safeguarding security and geostrategic interests, resolving the Kashmir issue, promoting Pakistan's image, and protecting economic and expatriate interests. Quaid-e-Azam envisioned a policy of peace, fairness, and support for oppressed peoples. Pakistan's foreign policy has passed through phases including non-alignment, Western alliance, bilateralism, and addressing contemporary issues like terrorism and Afghanistan. Key relationships include close ties with China and Muslim countries, complicated ties with the US, and improving but still complex relations with India.