Sir David ap (son of) Mathew (1400–1484; born Dafydd ap Mathew, was a Welsh Knight. He was Lord of Llandaff and Seneschal of Llandaff Cathedral, and one of the ten Great Barons of Glamorgan, a Marcher Lord. It was said he was one of the most distinguished men of his age and a zealous supporter of the Yorkist cause. After saving the life of King Edward IV at the Battle of Towton in 1461, he was appointed Grand Standard Bearer of England and King Edward IV granted the use of 'Towton' on the Mathew Family Crest .
Sir David Ap Mathew is the distant great uncle to the Commonwealth Governor of Virginia, Lt. Col. Samuel Mathews (1630–1660).
Sir David Mathew was the son of Mathew ap Ieuan (or Evan).
Sir David was also Lord of Llandaff and Seneschal of Llandaff Cathedral. He had a grant of 2,232 acres of land from Henry VI, the reversion of Caneton, and from William, Earl of Pembroke lands at St Fagans and at Pentyrch.
Sir David was a zealous supporter of the Yorkist cause, whose extraordinary prowess and daring in the field, even at a very advanced age, were used on behalf of the White Rose of York. He was a very tall man, said to stand 6 feet 8 inches (2.03 m) tall. At the Battle of Towton, on Palm Sunday, 29 March 1461, although by then about sixty years old, he saved the life of Edward IV and was rewarded by his grateful monarch with the honour of Grand Standard Bearer of England.
Sir David was one of the ten Great Barons of Glamorgan, and a Marcher Lord. He received from Edward IV the grant of the use of the word "Towton" as an augmentation over his crest. In 1480 he restored the shrine of Saint Teilo which had been pillaged and desecrated by a gang of pirates from Biston, and was presented by Bishop Marshall with St. Teilo's skull, set in a costly reliquary, to be an heirloom in his family, who carefully preserved it for about 200 years, until the death of William Mathew in 1658 at Llandeilo.