Complex sentence: William Stuart PC (1755--1822) was an Anglican prelate who served as the Bishop of St David's in Wales from 1794 to 1800 and then Archbishop of Armagh in Ireland from 1800 to his death.
Split into simpler sentences: William Stuart PC (1755--1822) was an Anglican bishop. He was the Bishop of St David's in Wales from 1794 to 1800 and then Archbishop of Armagh in Ireland from 1800 to his death.