[3] Following his father and grandfather into the Church of England, he was ordained priest in 1798 by the Bishop of Salisbury and held various appointments until 1804, when he became vicar of Brighton.A busy fishing port and holiday resort, it was where the Prince of Wales, the future King George IV, spent much time and a friendship began between the two men which lasted for life.In 1827 he was promoted to Clerk of the Closet and in 1828 was made a canon of St Paul's Cathedral, giving up his posts at Hereford.In the House of Lords, he was one of the bishops who voted against the Roman Catholic Relief Bill in 1829 and, while not speaking against the measure, opposed it in other ways.In 1797 at Twickenham he married Nancy (1774–1841), youngest daughter of John Wilkinson, a wealthy businessman who lived at Roehampton, and his wife Sibella Berdoe.