he was a radical in politics, and expected no appointment from government, until he was made an advocate depute in 1861, under palmerston. he prosecuted cases for the crown including jessie mclauchlan in the 1863 sandyford murder case. he was appointed sheriff of orkney and shetland in 1865, but delegated his duties to a resident sheriff-substitute and continued his private practice as an advocate.