Question: Bedlay Castle was inherited by James Roberton, Lord Bedlay from his father who bought it from whom?
Context: Saltwood Castle is a castle in Saltwood village, one mile (2 km) north of Hythe, Kent, England.  Of 11th century origin, the castle was expanded in the 13th and 14th centuries.  After the Norman Conquest, the castle was appropriated by the Archbishop of Canterbury Lanfranc and remained the property of the archbishops, with some interruptions, until 1540, when Thomas Cranmer was compelled to cede it to Henry VIII.  The castle is reputed to have been the meeting place of the four knights who carried out the assassination of Thomas Becket in 1170.  By the 19th century, it was "largely ruinous" and restorations to make portions of the castle habitable were carried out in the 1880s and 1930s.  In the late 19th century, the castle was bought by an ancestor of Bill Deedes, the journalist and politician, who grew up there.  In the 20th century, it was sold to Sir Martin Conway who commissioned Philip Tilden to undertake a restoration.  In 1953, the castle was bought by the art historian Kenneth Clark (1903–1983), and then became the home of his son, the politician and diarist, Alan Clark (1928–1999).  It remains the private home of his widow, Jane Clark.  The castle is a Grade I listed building. Bedlay Castle is a former defensive castle, dating from the late 16th and 17th centuries.  It is located between Chryston and Moodiesburn in North Lanarkshire, Scotland.  The castle is just off the A80 road, around 8 miles to the north-east of Glasgow, at [ NS692700] . Edmund de Lacy (c.1230–1258) was the son of John de Lacy, 2nd Earl of Lincoln.  When his father died in 1240 he inherited his father's titles and lands which included Baron of Pontefract, Baron of Halton, Lord of Bowland, and Constable of Chester.  As he was a minor his inheritance was held by him in wardship by his mother.  Normally his inheritance would have been held in wardship until he reached the age of majority (21).  However, Edmund was allowed to succeed his father at only 18 years of age.  He was heir to his mother Margaret de Quincy and on her death would have inherited the Earldom of Lincoln that vested in her.  (His father had only been Earl by rights of his wife.)  As he predeceased his mother he never became the Earl of Lincoln. Baron Leconfield, of Leconfield in the East Riding of the County of York, is a title in the Peerage of the United Kingdom.  It was created in 1859 for Col. George Wyndham (1787–1869).  He was the eldest illegitimate son and adopted heir of George Wyndham, 3rd Earl of Egremont (1751–1837) (see Earl of Egremont for earlier history of the family), from whom he inherited Petworth House in Sussex, Egremont Castle and Cockermouth Castle in Cumbria and Leconfield Castle in Yorkshire, all formerly lands of Josceline Percy, 11th Earl of Northumberland (1644–1670), inherited by Charles Seymour, 6th Duke of Somerset (1662–1748) on his marriage to the Percy heiress Elizabeth Percy (1667–1722) and inherited as one of the co-heirs of his son Algernon Seymour, 7th Duke of Somerset, 1st Earl of Egremont (1684–1750) by the latter's nephew Sir Charles Wyndham, 4th Baronet (1710–1763) of Orchard Wyndham in Somerset, who inherited by special remainder the Earldom of Egremont.  The 1st Baron's eldest son, the second Baron, represented West Sussex in the House of Commons as a Conservative.  He was succeeded by his eldest son, the third Baron, who served as Lord Lieutenant of Sussex from 1917 to 1949.  The latter's nephew, the sixth Baron, served as Private Secretary to Prime Minister Harold Macmillan from 1957 to 1963.  In 1963, four years before he succeeded his father in the barony of Leconfield, the Egremont title held by his ancestors was revived when he was raised to the peerage as Baron Egremont, of Petworth in the County of Sussex.  s of 2017 the titles are held by his son, the seventh Baron.  Known as "Max Egremont", he is a biographer and novelist. James Roberton, Lord Bedlay (c. 1590 – May 1664) was a Scottish advocate and judge.  He was born to Archibald Roberton of Stainhall, youngest son of John Roberton 9th Laird of Earnock, and Elizabeth Baillie, daughter of Robert Baillie of Jerviston.  He inherited Bedlay Castle from his father, who bought it from James, the 8th Lord Boyd.  He became Lord Bedlay upon the occasion of being raised to the judicial bench in 1661. Loch Leven Castle is a ruined castle on an island in Loch Leven, in the Perth and Kinross local authority area of Scotland.  Possibly built around 1300, the castle was the location of military action during the Wars of Scottish Independence (1296–1357).  In the latter part of the 14th century, the castle was granted by his uncle to William Douglas, 1st Earl of Douglas, and remained in Douglas' hands for the next 300 years.  Mary, Queen of Scots was imprisoned here in 1567–1568, and forced to abdicate as queen, before escaping with the help of her gaoler's family.  In 1588, the Queen's gaoler inherited the title Earl of Morton, and moved away from the castle.  It was bought, in 1675, by Sir William Bruce, who used the castle as a focal point in his garden; it was never again used as a residence. Charles Bruce, 5th Earl of Elgin and 9th Earl of Kincardine (6 July 1732 – 14 May 1771) was the son of William Bruce, 8th Earl of Kincardine.  His mother was Janet Roberton, daughter of James Roberton (principal Lord of Session) and great-granddaughter of advocate and judge Lord Bedlay Esviken (formerly Esvigen) is a villa surrounded by an elaborate garden and a former agricultural property in Asker, Norway.  Industrialist Halvor Schou bought Løkenes farm with 1000 daa land in the late 1860s, and commissioned the villa, designed by famous architect Wilhelm von Hanno.  Esviken was used as a summer residence by Schou and his heirs.  His daughter Birgitte Halvordine Schou (b. 1857) was married to industrialist Einar Westye Egeberg, who inherited the villa and half of the property.  Their daughter Hermine Egeberg (1881–1974) was married from 1901 to Count Peder Anker Wedel-Jarlsberg.  Wedel-Jarlsberg was Lord Chamberlain for King Haakon VII of Norway from 1931 to 1945 and one of the King's closest confidants for over thirty year, and the King and Queen visited Esviken many times.  Esviken is also located in close proximity to Skaugum, owned by the royal family.  Their oldest son Herman Wedel-Jarlsberg, the later Count and owner of Jarlsberg, was born at Esviken in 1902.  Formally, Hermine and Peder Anker Wedel-Jarlsberg took over the property in 1930, but in reality, this happened around thirty years earlier.  The Wedel-Jarlsberg family extended the garden significantly.  In 1960, the property was inherited by their daughter Hedevig Wedel-Jarlsberg (1913–96), married Paus, and her husband Per (Christian Cornelius) Paus, who was himself a descendant of the Schou family (Halvor Schou's first cousin) and his wife's distant cousin.  In 1996, their children Cornelia Paus, Christopher Paus and Peder Nicolas Paus inherited the property.  It was sold to Asker municipality in 1999.  The villa and the garden was listed as a protected cultural heritage site by the Norwegian Directorate for Cultural Heritage in 2006. Inchdrewer Castle is a 16th-century tower house in the parish of Banff, Aberdeenshire, in the northeast of Scotland.  Situated on a slight rise 3.5 mi southwest of Banff, it looks across to Banff Bay.  Originally owned by the Currour family, it was purchased by the Ogilvies of Dunlugas in 1557 and became their main family seat.  The Ogilvies were staunch Royalists, which resulted in the castle coming under attack from the Covenanters in 1640.  George Ogilvy, 3rd Lord Banff was murdered in 1713 and his body hidden inside the castle, which was then set on fire.  The castle came under siege again in 1746, during the Jacobite rebellion.  At the start of the 19th century, following the death of the 8th Lord Banff, the property was inherited by the Abercromby of Birkenbog family, who leased it to a tenant.  It became uninhabited after 1836 and the structure deteriorated. Lord Hamilton, Baron of Strabane, in the County of Tyrone, is a title in the Peerage of Ireland created on 8 May 1617, for James Hamilton, Master of Abercorn, eldest son of James Hamilton, 1st Earl of Abercorn, during the life of his father (and his grandfather, Claud Hamilton, 1st Lord Paisley); the barony had the special remainder to the heir-males of his father.  He was about thirteen at the time.  Both Abercorn and Paisley were in the peerage of Scotland.  He inherited his father's several titles in 1618, his grandfather's title in 1621.
Answer: James, the 8th Lord Boyd