Pakistan has pursued different foreign policy approaches throughout its history based on changing geopolitical circumstances. Initially, it explored friendly relations with all countries after independence. It then aligned with Western countries during the Cold War, joining organizations like SEATO and CENTO. From the 1960s, Pakistan transitioned to bilateral relations and non-alignment. It supported Afghanistan during the Soviet invasion and rebuilt ties with the US. Following the Cold War, Pakistan pursued a nuclear program and dealt with insurgencies while maintaining strategic relations with China and others. Since 9/11, Pakistan has played an active but difficult role in counterterrorism efforts while seeking to promote regional peace and stability.