Agnes Dunbar (mistress)

Agnes Dunbar (fl. late 14th century) was a mistress of King David II of Scotland, son of Robert the Bruce.
She was the niece (and possibly fosterling) of Agnes Randolph, Countess of Dunbar and March. Her mother was Isabella Randolph, sister of Countess Agnes and daughter of Thomas Randolph, first Earl of Moray. Her father, Sir Patrick Dunbar, was the son of Sir Alexander Dunbar and grandson of Patrick, seventh Earl of Dunbar, and his wife, Cecilia.
She was first married to a man called Robert, and they had children.
She appears to have become a mistress of King David II around 1369, as payments to her began then. A payment of 1000 merks, a very large sum at that time, was arranged for her a month before the king died suddenly in February 1371, which indicates that he had been very likely planning to marry her.
On 21 November 1372 she married Sir James Douglas of Dalkeith. Their son was James Douglas, 1st Lord Dalkeith. Their great-grandson was James Douglas, 1st Earl of Morton.
References.
S. Boardman, "The Early Stewart Kings of Scotland"