Prior to 1549 Hapland was part of the estate of Dunlop. David Dunlop exchanged or 'excambied' Hapland for the lands of Borland and in 1612 Patrick Cunninghame sold these lands to Gabriel Porterfield, son of Alexander Porterfield of that Ilk. Gabriel Porterfield of Porterfield in 1618 married Mariot Crawfurd and inherited the lands of Gills, Lothrihill, the Templeland and Maynes (Mains) of Hapland, including the mansion house. Gabriel Porterfield also took possession of Dunlop Hill, Wattirland (Waterland) and Halketh, with the loch (now drained). Dobie relates that On 31 May 1638, Gabriel Porterfield purchased from Neil Ryburn of that Ilk the 13s 4d. land of old extent of Ryburn, commonly called Temple-Ryburn. The estate of Hapland consisted of Brokwelmure (Brockwellmuir), Dunlophill-Montgomerie and Ryburn; later part of Lainshaw was purchased as well.