He attended Eton College in England and studied medicine at the University of Edinburgh, where he graduated in 1764.
He studied law in London, passing the bar, and practising there from 1770 to 1776 [REF].