 Through his sister, he was uncle to Douglas Robinson Sr. (who married Fanny Monroe, daughter of U.S. Representative James Monroe and a grand-niece of U.S. President James Monroe) and Sir William Robinson, KCSI, who served as acting Governor of Madras.He was educated at Edinburgh High School and Trinity College, Cambridge.He was called to the Scottish Bar in 1806.