In early January 1978 the US President Jimmy Carter paid an official visit to Riyadh and met King Khalid to discuss the Middle East peace efforts. Immediately after this meeting Shah Mohammad Reza Pahlavi visited King Khalid on 11 January 1978 to discuss some topics related to the security of the region. Following King Khalid's heart surgery at the Cleveland Clinic on 3 October 1978 Jimmy Carter invited him to the White House for lunch, and they met on 27 October. The Camp David accord which was signed by Egypt and Israel in September 1978 severely affected the Saudi-Egyptian alliance, and Saudi Arabia's diplomatic relations with Egypt were terminated following the Baghdad Conference in November 1978. The same year King Khalid visited France to finalize the procurement of $24 billion military equipment, namely tanks, helicopters, and a complete radar network which was capable of covering the entire Red Sea. Much of this equipment was sent to North Yemen, Sudan, and Somalia to assist their resistance against communism.