Complex sentence: In 1785 he was appointed Knight Marischal of Scotland but lost his position as surveyor general of window and house tax in 1789.
Split into simpler sentences: In 1785 he was appointed Knight Marischal of Scotland. He lost his position as surveyor general of window and house tax in 1789.