 He was educated in the grammar school of Malpas, and after the loss of both parents, who died while he was very young, he found a friend and benefactor in Dr. Thomas Townson, rector of Malpas, who recommended that he should be entered at Brasenose College, Oxford (1772), and who paid half of his expenses at the university.He graduated B.A.in 1775 and M.A.