Karim was the Deputy Permanent Representative of Pakistan to the United Nations when the Bangladesh Liberation war started in 1971. He swore allegiance to the government of Bangladesh in exile defecting from the Pakistan mission in August 1971.