 In 1802 he was appointed Professor of Hebrew at St Andrews University.He was later given the first university Chair in Biblical Criticism (1808-1824)

He died in St Andrews on 28 November 1824 aged only 54.He married his cousin, Elisabeth Hill, daughter of George Hill.