 She died when he was two years old, and he inherited the large estate of Comiston House.He attended the high school then studied Law at the University of Edinburgh.He was created an advocate in 1803.