Complex sentence: After diplomatically establishing relations with each other in 1947, Pakistan and Iraq joined the CENTO in 1955 to oppose the Soviet Union.
Split into simpler sentences: After diplomatically establishing relations with each other in 1947. In 1955, Pakistan and Iraq joined the CENTO to oppose the Soviet Union.