Madog ap Gruffydd Maelor II (1195 – 1269) was the 28th great-grandfather of Cometan, classified as one of Cometan’s medieval paternal ancestors in the Taylor family line.
Madog is known to have been born in Powys, Wales and was the lord of Castle Dinas Bran where he is thought to have died. He was the husband of Emma de Audley and was the son of Madog ap Gruffydd Maelor and Gwladys verch Ithel. Grufffudd was also the father of Margery verch Gruffydd.
In Cometanic ancestry, Madog is categorised as part of the 30th generation retrograde, and because he was born before 1453, he is classified as a medieval ancestor of Cometan, a title that is rarely bestowed.