Original sentence: He was implicated in the scandal involving the Duke of York and his mistress Mary Anne Clarke, but after bringing valuable evidence of the case the the courts he was rewarded when he was appointed a Lord of the Irish Treasury and sworn of the Irish Privy Council in 1810
Edited sentence: He was implicated in the scandal involving the Duke of York and his mistress Mary Anne Clarke, but after bringing valuable evidence of the case the courts he was rewarded when he was appointed a Lord of the Irish Treasury and sworn of the Irish Privy Council in 1810