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.
Before the Reformation, the present civil parish was composed of three parishes - Lasswade, Melville, and Pentland - and the provostry of Roslin. Melville parish encompassed the baronies of Melville and Lugton. In 1633, the barony of Melville, which constituted a significant portion of the parish of Melville, merged with Lasswade, while the barony of Lugton was incorporated into Dalkeith.