Cooper lost the general election and was appointed Ambassador to India by President Dwight D. Eisenhower in 1955. Cooper gained the confidence of Indian Prime Minister Jawaharlal Nehru and dramatically improved relations between the U.S. and the recently independent state of India, helping rebuff Soviet hopes of expanding communism in Asia.