Meldred

Meldred is a character who appears in literary accounts of post-Roman Britain. He may have been a petty king or chieftain in part of what is now southern Scotland for a period in the 6th Century. The village of Drumelzier in Peeblesshire may take its name from him and his seat of power may have been the fort of Tinnis Castle. He is of interest as the first named political leader associated with the Scottish Borders in the post-Roman period and a character in the source texts on which the Arthurian Romances are based.
Death of Lailoken.
In "Vitae Merlini Silvestris", a source text for the literary character Merlin, Meldred features as the captor of Lailoken, a warrior so traumatised by the scale of the slaughter he witnesses at the Battle of Arfderydd (Arthuret) in 573 that he retreats to the Great Wood of Caledon, where he lives as a wild man. Lailoken's madness endows him with the gift of prophecy and Meldred holds him captive in his fortress at Drumeller in the hope of extracting prophecies which he can use to his advantage. During negotiations over his release, Lailoken draws attention to a leaf caught in the queen's wimple which he claims is evidence of an assignation with her lover in the king's garden. Lailoken secures his release, but the queen takes revenge on him for revealing her affair by arranging to have him ambushed and killed by a gang of shepherds. Meldred has Lailoken buried in the churchyard to the east of his fortress, close to where the Powsail Burn joins the River Tweed.