 He continued to represent South Shields until he was defeated by John Twizell Wawn in the election of 1841.He was also appointed recorder of Berwick-upon-Tweed in June 1832.In 1846, he was appointed Attorney-General of Durham.