Original: Waldheim was Secretary-General of the United Nations from 1972 to 1981, and President of Austria from 1986 to 1992.
Simplified: He was Secretary-General of the United Nations from 1972 to 1981, and President of Austria from 1986 to 1992.