Complex sentence: He was educated for the diplomatic service under his father's direction, he began his career in 1787, as attaché to the representative of Denmark at the opening of the Diet of Sweden.
Split into simpler sentences: He was educated for the diplomatic service under his father's direction. He began his career in 1787, as attaché to the representative of Denmark at the opening of the Diet of Sweden.