Question: Margaret of Huntingdon (died before 1228) was the eldest daughter of David, Earl of Huntingdon (died 1219) and his wife, Maud (died 1233), sister of which earl that died in 1232, was one of the "old school" of Anglo-Norman barons whose loyalty to the Angevin dynasty was consistent but contingent on the receipt of lucrative favours? 

Context paragraphs:
Theophilus Hastings, 7th Earl of Huntingdon: Theophilus Hastings, 7th Earl of Huntingdon PC (10 December 1650 – 30 May 1701) was an English politician.  He was the son of Ferdinando Hastings, 6th Earl of Huntingdon, born in the 27th year of his parents' marriage, and became Earl of Huntingdon on 13 February 1656 on his father's death.  He married, firstly, Elizabeth Lewis, daughter of Sir John Lewis, 1st Baronet, on 19 February 1671/2.  She died 24th December 1688.  He married, secondly, Mary Frances Fowler, daughter of Francis Leveson Fowler, on 8 May 1690.  With his first wife he had two sons and six daughters, including Thomas (1674–1675), George and Elizabeth.  With his second wife he had two more sons and five more daughters, including Theophilus, Catherine, Maria and Margaret.

Hugh de Courtenay, 1st/9th Earl of Devon: Hugh de Courtenay, 1st/9th Earl of Devon (14 September 1276 – 23 December 1340) was the son of Sir Hugh de Courtenay (died 1292), feudal baron of Okehampton in Devon, by his wife Eleanor le Despenser (died 1328), sister of Hugh le Despenser, 1st Earl of Winchester.  Forty-one years after the death of his cousin, Isabel de Forz, "suo jure" 8th Countess of Devon (1237–1293) (née de Redvers, eldest daughter of Baldwin de Redvers, 6th Earl of Devon (1217-1245)), letters patent were granted by King Edward III, dated 22 February 1335, declaring him Earl of Devon, and stating that he 'should assume such title and style as his ancestors, Earls of Devon, had wont to do'.  This thus made him 1st Earl of Devon, if the letters patent are deemed to have created a new peerage, otherwise 9th Earl of Devon if it is deemed a restitution of the old dignity of the de Redvers family and he is deemed to have succeeded the "suo jure" 8th Countess.  Authorities differ in their opinions and thus alternative ordinal numbers exist for this Courtenay earldom.

Matilda of Chester, Countess of Huntingdon: Matilda of Chester, Countess of Huntingdon (1171 – 6 January 1233) was an Anglo-Norman noblewoman, sometimes known as Maud and sometimes known with the surname de Kevelioc.  She was a daughter of Hugh de Kevelioc, 5th Earl of Chester, and the wife of David of Scotland, Earl of Huntingdon.  Through her daughter, Isobel, she was an ancestress of Robert the Bruce.

Marquess Grey: Marquess Grey was a title in the Peerage of Great Britain.  It was created on 19 May 1740 for Henry Grey, 1st Duke of Kent, with remainder to the male issue of his body and in default thereof to his granddaughter the Honourable Jemima Campbell and the heirs male of her body.  The Duke of Kent died only two weeks after the creation of the marquessate when the dukedom and most of its subsidiary titles became extinct (see Duke of Kent).  He was succeeded in the barony of Lucas (which could be passed on through female lines) and in the marquessate of Grey according to the special remainder by his granddaughter Jemima, the second Marchioness Grey.  She was the daughter of John Campbell, Lord Glenorchy, later 3rd Earl of Breadalbane and Holland, and Lady Amabel Grey (died 1726), eldest daughter of the Duke of Kent.  On 22 May 1740, three days after the marquessate was created, she married the Honourable Philip Yorke, later 2nd Earl of Hardwicke.  They had two daughters, Lady Amabel Yorke and Lady Mary Yorke.  Lady Grey died in January 1797, aged 73.  As she had no sons the marquessate died with her.  However, she was succeeded in the barony of Lucas by her eldest daughter, Lady Amabel, who in 1816 was created Countess de Grey in her own right (see Earl de Grey for further history of this title).

Earl de Grey: Earl de Grey, of Wrest in the County of Bedford, was a title in the Peerage of the United Kingdom.  It was created on 25 October 1816 (as Countess de Grey) for Amabell Hume-Campbell, Dowager Lady Polwarth and "suo jure" 5th Baroness Lucas, with remainder to the heirs male of her body and in default of such issue to her sister Mary Jemima Robinson, Dowager Baroness Grantham, and the heirs male of her body.  She was the eldest daughter and co-heir of Philip Yorke, 2nd Earl of Hardwicke, and Jemima Yorke, 2nd Marchioness Grey (see Marquess Grey), eldest daughter of John Campbell, 3rd Earl of Breadalbane and Holland, and Lady Amabel Grey, eldest daughter of Henry Grey, 1st Duke of Kent (see Duke of Kent).  The marquessate of Grey had become extinct on her mother's death in 1797 and when the Grey title was revived in favour of her daughter the style "de Grey" was used to distinguish it from the earldom of Grey which had been created in 1806; the Grey family was extremely distantly related to the Earl Grey).  The Countess de Grey was the widow of Alexander Hume-Campbell, Lord Polwarth, eldest son of Hugh Hume, 3rd Earl of Marchmont.

Maud Marshal: Maud Marshal, Countess of Norfolk, Countess of Surrey (1192 – 27 March 1248) was an Anglo-Norman noblewoman and a wealthy co-heiress of her father William Marshal, 1st Earl of Pembroke, and her mother Isabel de Clare "suo jure" 4th Countess of Pembroke.  Maud was their eldest daughter.  She had two husbands: Hugh Bigod, 3rd Earl of Norfolk, and William de Warenne, 5th Earl of Surrey.

Margaret of Huntingdon, Lady of Galloway: Margaret of Huntingdon (died before 1228) was the eldest daughter of David, Earl of Huntingdon (died 1219) and his wife, Maud (died 1233), sister of Ranulf III, Earl of Chester (died 1232), and daughter of Hugh II, Earl of Chester (died 1181).  Margaret was the second wife of Alan, Lord of Galloway (died 1234).  She and Alan married in 1209, and had a family of a son and two daughters.  The elder daughter, Christiana, married William de Forz (died 1260).  The younger daughter, Dervorguilla (died 1290), married John de Balliol, Lord of Barnard Castle (died 1268).  Margaret and Alan's son, Thomas—Alan's only legitimate son—may have lived into the 1220s, but died young.

Abney-Hastings baronets: The Hastings, later Abney-Hastings Baronetcy, of Willesley Hall in the County of Derby, was a title in the Baronetage of the United Kingdom.  It was created on 28 February 1806 for the soldier Sir Charles Hastings.  He was the illegitimate son of Francis Hastings, 10th Earl of Huntingdon (see Earl of Huntingdon for earlier history of the family).  Hastings married Parnel Abney, daughter and heiress of Thomas Abney, of Willesley Hall, Willesley, Derbyshire, and granddaughter of Sir Thomas Abney, Justice of the Common Pleas.  He was succeeded by his eldest son, Charles, the second Baronet, who assumed the additional surname of Abney on succeeding to the Abney estates through his mother.  Abney-Hastings represented Leicester in Parliament between 1826 and 1831.  The title became extinct on his death in 1858.  Abney-Hastings's Blackfordby and Packington estates passed to his kinsman Henry Rawdon-Hastings, 4th Marquess of Hastings, while Willesley Hall was left to Lady Edith Maud Rawdon-Hastings, later Countess of Loudoun, the Marquess's eldest sister and wife of Charles Frederick Clifton, who in 1859 assumed the surname Abney-Hastings.

Ranulf de Blondeville, 6th Earl of Chester: Ranulf de Blondeville, 6th Earl of Chester and 1st Earl of Lincoln (1170–1232), known in some references as the 4th Earl of Chester (in the second lineage of the title after the original family line was broken after the 2nd Earl), was one of the "old school" of Anglo-Norman barons whose loyalty to the Angevin dynasty was consistent but contingent on the receipt of lucrative favours.  He was described as "almost the last relic of the great feudal aristocracy of the Conquest".

Helen of Galloway: Helen of Galloway (fl.  thirteenth century) was a daughter and co-heiress of Alan, Lord of Galloway (died 1234) and his first wife, a daughter of Roger de Lacy, Constable of Chester.  Helen was the first wife of Roger de Quincy, Earl of Winchester (died 1264).  Although Helen was the first of Roger's three wives, his only descendants were his three daughters by Helen.  The eldest daughter, Margaret, married William de Ferrers, Earl of Derby (died 1254); the second daughter, Elizabeth (or Isabella), married Alexander Comyn, Earl of Buchan (died 1289); the third daughter, Helen, married Alan de la Zouche (died 1270).

Supporting paragraphs: Margaret of Huntingdon, Lady of Galloway Ranulf de Blondeville, 6th Earl of Chester
Answer: Ranulf de Blondeville, 6th Earl of Chester and 1st Earl of Lincoln