 The following year he became a factor at St Mary's College in St Andrews.He was licensed to preach by the Presbytery of the Church of Scotland at Fordoun in 1828 and ordained as minister of Laurencekirk in 1829.In October 1845 he was translated to St Leonards Church in St Andrews.