 Completing the course, he became a licentiate of the church of Scotland.Murray early formed the acquaintance of John Leyden, and among his friends were Robert Anderson, Henry Brougham, Francis Jeffrey, Thomas Brown, and Thomas Campbell.In 1806, Murray was appointed assistant to James Murehead parish minister of Urr, Kirkcudbrightshire, whom he succeeded on his death in 1808.