Following the defeat of Arab armies in the Six-Day War, Islamism and Pan-Islam began to reverse their relative position of popularity with nationalism and pan-Arabism. Political events in the Muslim world in the late 1960s convinced many Muslim states to shift their earlier ideas and respond favourably to Pakistan's goal of Muslim unity. Nasser abandoned his opposition to a pan-Islamic platform and such developments facilitated the first summit conference of Muslim heads of state in Rabat in 1969.