Patrick Hepburn, 3rd Earl of Bothwell (1512 – September 1556) was the son of Adam Hepburn, Lord Hailes, who died at the Battle of Flodden the year after Patrick's birth.
Luffness Castle, sometimes known as Luffness House or Aberlady Castle, is a castle of 13th-century origin in Luffness, not far from Aberlady, in East Lothian, Scotland.
 The castle is historically part of the entail of the Earls of Hopetoun.
Patrick Hepburn (1487 – 20 June 1573) was a 16th-century Scottish prelate.
 He was born in East Lothian, went to St Andrews University, entered the church, and then exploited his family connections to become Prior of St Andrews and royal secretary.
 Hepburn moved on to become Bishop of Moray and Commendator of Scone and played an ambiguous role in the Scottish Reformation.
 During this time he held a notorious reputation for immorality.
 He was deprived of his ecclesiastical titles two years before his death in 1573.
George Hepburn (died 9 September 1513) was the son of Adam Hepburn and brother to Patrick Hepburn, the first "Earl of Bothwell".
Patrick Hume, 1st Earl of Marchmont (13 January 16412 August 1724), known as Sir Patrick Hume, 2nd Baronet from 1648 to 1690 and as Lord Polwarth from 1690 to 1697, was a Scottish statesman.
 His grandfather was the poet and courtier Sir Patrick Hume of Polwarth and Redbraes who died in 1609.
Sir Patrick Hepburn of Dunsyre, 1st Lord Hailes (died 1483) was the feudal lord of Hailes and its castle in East Lothian and a Lord of Parliament.
Sir Patrick Hepburn of Waughton and Luffness, Knt., (d. Bef.
 November 1649) was a Scottish laird and notable Covenanter from East Lothian.
 In 1639-1641 Sir Patrick was a member for Haddingtonshire in the Scottish Parliament.
Adam Hepburn, 2nd Earl of Bothwell (died 9 September 1513) was a Scottish nobleman, who succeeded his father Patrick Hepburn, 1st Earl of Bothwell in 1508.
 Prior to that, he was known by one of his territorial designations, Adam Hepburn of Crags, under which he drew up his Testament.
Sir Patrick Barnewall or Barnwall (died 1622), was the eldest son of Sir Christopher Barnewall of Turvey, Grace Dieu Abbey, and Fieldston.
 Christopher in turn was the son of the elder Sir Patrick Barnewall, who in 1534 was made Serjeant-at-law (Ireland) and Solicitor-General for Ireland, and in 1550 became Master of the Rolls in Ireland.
 Patrick's mother was Marion Sherle, daughter of Richard Sherle of County Meath: after his father 's death she remarried the prominent judge Sir Lucas Dillon.
Sir Patrick Dun’s Hospital was a hospital and school for physicians on Grand Canal Street, Dublin which opened in 1808 and was named after the Irish physician Sir Patrick Dun.

Question: What entail was this castle which Sir Patrick Hepburn was of historically part of?
Answer: Earls of Hopetoun