Graham, the son of a Middlesex schoolmaster, graduated from Trinity College, Cambridge, and studied law at the Inner Temple, London. In 1793 he was appointed attorney general to the Prince of Wales and a king's counsel. He was made a judge of the Court of the Exchequer in 1799; his title of "Baron" comes from that appointment. He was knighted in 1800. His friend, Sir Robert Smyth, 5th baronet, named Graham as one of the executors of his will and trustee for his young son George Henry Smyth. Years later, Graham named Henry Smyth an executor of his will and bequeathed to him the NGA portrait of himself done by Copley.
Bibliography
1837
"Obituary: Right Hon. Sir Robert Graham," The Gentleman's Magazine 6 (1837): 653.