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.