Dunbar Hamilton Douglas, 4th Earl of Selkirk FRSE (1 December 1722 – 24 June 1799) was a Scottish peer.
He was the eldest son of the former Isabella Mackenzie and Basil Hamilton of Baldoon, MP for Kirkcudbright Stewartry.
[2] He attended Glasgow University from 1739, being greatly influenced by Francis Hutcheson, Professor of Moral Philosophy.
In 1778, during the American Revolutionary War, Selkirk was the target of a raid by John Paul Jones, who was sailing in the service of the Continental Navy.
Jones landed his ship, the Ranger, on the shore of St Mary's Isle, intending to kidnap the Earl.