Complex sentence: On his return to Vienna in 1777 van Swieten was appointed as the Prefect of the Imperial Library, which had been vacant for five years since the father's death.
Split into simpler sentences: On his return to Vienna in 1777 van Swieten was appointed as the Prefect of the Imperial Library. He father had previously held this post, which had been vacant for five years since the father's death.