In 1961–65, Ayub lost much of the support from President John Kennedy and President Lyndon Johnson who sought closer relations with India and placed an embargo on both nations during the war in 1965. In 1966–67, he wrestled with the United States' dictation on country's foreign policy while strengthening relations with Soviet Union and China, whereas he successfully signed a border agreement to resolve border disputes in 1960s. Relations with the Soviet Union were eventually normalized when the Soviets facilitated a peace treaty with India in 1965, and reached a trade treaty the following year. Despite initiatives made towards normalizing with Soviet Union, Ayub Khan remained inclined towards the United States and western world, having well-received President Johnson in Karachi in 1967.