He served a second year as Moderator in 1731. In 1732 he accepted the post as Professor of Divinity at Edinburgh University. In July 1733 he also took on the role as minister of New (West) Kirk in St Giles (only 500m from the university). He was also Chalain in Ordinary to the King. In October 1733 he was made Principal of the University of Edinburgh.[3]
He made a trip to Bristol in the summer of 1736 but died at Coldstream during the return journey on 14 August 1736.[3]