He was licensed to preach by the Presbytery of Dunfermline as a Church of Scotland minister in August 1788.
[3] In December 1791 he was ordained as minister of Abercorn in West Lothian under the patronage of James, Earl of Hopetoun in place of Rev.
From 1799, he took on the additional role of Professor of Ecclesiastical History at the University of Edinburgh, but continued as minister of Abercorn.
[4] From around 1810 he lived with his family at Merchant Street opposite Greyfriars Kirkyard in Edinburgh's Old Town.
[5] In 1825, he writes to support his friend Rev John Somerville, in his invention of a safety catch for firearms.