A church court that sat within the presbytery of Lanark and the synod of Glasgow and Ayr. The medieval church was a prebend of Glasgow and was dedicated to St Mary.