He was educated at Brechin Grammar School and then studied at St Andrews University, graduating MA in 1820.
He was licensed to preach as a Church of Scotland minister by the Presbytery of St Andrews in 1823 but initially failed to find a patron.
In July 1842 he replaced Thomas Liddell at Lady Glenorchy's Church in central Edinburgh.
[4] The huge Georgian townhouse had previously been the home of Robert Stevenson the lighthouse designer.
[7] His daughter Mary (b.1833) married Rev Alexander Cusin (1835-1890), who became his assistant in the church from 1865 and succeeded him on retiral.