Complex sentence: On June 8,1977, he was appointed United States Ambassador to Pakistan until 1981 when he became United States Ambassador to China from 1981 to 1985.
Split into simpler sentences: On June 8,1977, he was appointed United States Ambassador to Pakistan, where he served until 1981. He was United States Ambassador to China from 1981 to 1985.