Robert Logan, son and heir apparent of Sir Robert Logan of Restalrig, the lands and barony of Restalrig, and the lands and barony of Grougar with its mill etc. in the bailiary of Cunningham, which Robert Logan the elder and his wife Lady Elizabeth Hume had resigned, to be incorporated in the free barony of Restalrig [RGS.III.2056]. The Register of the Great Seal of Scotland records that on 13 August 1540, King James V granted Robert Logan, son and heir apparent of Sir Robert Logan of Restalrig, the lands of Grogar with its mill, tenantries, etc., in the lordship of Cunningham [RGS.III.2188]. Sir David Hamilton expanded the family's landholdings and accompanied King James V on his matrimonial voyage to France when he married Magdalene daughter of King Francis I of France. When the Earl of Hertford invaded Scotland in 1544 the town and castle of Preston was destroyed. Later Sir David was created Knight Banneret and Marischal Deputy of Scotland. Sir David also is noted as an early adherent of Protestantism in Scotland. He married Janet Baillie and they had 13 children of whom George, the eldest succeeded. However, by the late sixteenth century Grougar was in the hands of a branch of the Graham family. The Grahams also are of Anglo-Norman origin who settled in Scotland in the early twelfth century during the reign of King David I of Scotland. On 18 February 1581 King James VI confirmed a charter by Robert Graham of Knockdolian allocating certain land within the barony of Grougar to Thomas Lyon of Glamis and his wife Lady Agnes Gray [RGS.V.111]. Robert Graham seem to have owned lands within the barony of Grougar by 1581 and ten years later the complete barony was his as on 3 March 1591 King James VI granted, for good service, the lands and barony of Grougar with its mill etc., in the bailiary of Cunningham, to John Graham of Knockdolian and his wife Lady Helen Kennedy [RGS.V.1834]. On his death John Graham of Knockdolian passed Grougar to his brother Robert according to an entry in the Inquisitionum ad Capellam Regis Retornatarum Abbreviatio, on 16 April 1606, Robert Graham of Grougar was served heir to his brother Lord John Graham of Knockdolian, in the lands and barony of Grougar in the bailiary of Cunningham [NAS. Retours, Ayr, 85]. Robert Graham evidently already owned land in south Ayrshire which he sold