Pakistan and Malaysia established their diplomatic relations in 1957 after the latter's independence. Initially, the High Commission of Malaysia was located in Karachi, which was the capital city of Pakistan then. On 5 October 1965, Pakistan severed diplomatic ties with Malaysia when a Malaysian representative at the UN Security Council (to which Malaysia had been elected in 1965) had taken sides in the Indo-Pakistani war over Kashmir. Pakistan's Foreign Minister Z. A. Bhutto said that Malaysia had taken an immoral position, had violated the solidarity of the African-Asian world." The Malaysian government rejected any Pakistani suggestion that Malaysia had sided with India in the dispute, and sent a note to the Pakistani high commission in Kuala Lumpur that Malaysia had not behaved wrongly to a fellow Muslim nation, challenged a Pakistani claim that Pakistan had tried to mediate the Malaysia-Indonesia dispute".