During the first part of his tenure in Egypt , he represented American interests in a section of the Spanish Embassy in Cairo , after diplomatic ties with the United States were cut off during the 1967 war with Israel .