Before the Reformation, the present civil parish consisted of three parishes - Lasswade, Melville and Pentland - and the provostry of Roslin. Melville parish comprised the baronies of Melville and Lugton. In 1633, the barony of Melville which formed the greater part of the parish of Melville was united to Lasswade, and the barony of Lugton to Dalkeith. Pentland was erected into a parish before 1275. The parish of Pentland comprehended the baronies of Pentland and Falford (or Fulford) and the name Pentland appears in charters of 12th century. In 13th and 14th centuries the northern Pentland Hills were called the Moor of Pentland, implying that the hills took the name from the parish or estate and not vice versa. The parish was suppressed in 1647, and the northern part annexed to Lasswade, while the southern, comprising the barony of Falford, was united to the new parish of St.Catherine's, now called Glencorse. However the churchyard of Pentland was still in use at least to 1907.