The building of Moray Free Church was erected on ground connected with Moray House, Canongate, by the Trustees of Miss Helen Thomson of Westbarns who left funds for the erection and endowment of a Territorial Church in Edinburgh. Mr James Gall, who held services in the hall of Moray House Training College until the church was opened, was ordained to the charge in 1862. Following the union of the United Presbyterian Church and the Free Church of Scotland, Moray Free Church became Moray United Free Church and in 1910 a union was established with the congregations of Canongate and Knox's, to form the session of Moray Knox United Free Church. After this union both the Moray and the Canongate Churches were sold. Upon the 1929 union between the United Free Church of Scotland and the Free Church of Scotland, Moray Knox United Free became Moray Knox Church of Scotland and in 1930 the congregation was united with that of Trinity College, under the name of Trinity College and Moray Knox. In 1847 the former Moray Knox Church and hall were sold and later demolished. Further union followed in 1959 with the congregation of Lady Glenorchy's under the name of Edinburgh Holy Trinity Church of Scotland and this congregation sits under the jurisdiction of the Presbytery of Edinburgh.