 In 1837 he was translated to the parish of Skirling in Peebles-shire, near Biggar.During the ten year controversy that preceded the Disruption of 1843, he took an active part on the side of Chalmers and his allies.He left the established Church of Scotland in 1843, joining the Free Church of Scotland, taking most of his congregation with him.