 He was educated at Harrow School in 1755 and Westminster School in 1756.In 1758 he matriculated at Corpus Christi, Oxford on 24 May and was awarded BA in 1762 and MA in 1766.He entered Lincoln's Inn in 1766 and was called to the bar in 1770.