The title Earl of Dalhousie was created in the Peerage of Scotland in 1633. One associated title is Marquess of Dalhousie, created in the Peerage of the United Kingdom in 1838 for the tenth Earl. The Marquessate became extinct when Lord Dalhousie died without male issue. Other titles associated with the earldom are: Lord Ramsay of Dalhousie (created 1618), Lord Ramsay and Carrington (1633) and Baron Ramsay of Glenmark (1875). The former two are in the Peerage of Scotland; the last is in the Peerage of the United Kingdom.
He was finally, in 1805, appointed First Lord of the Admiralty, and was created Baron Barham, of Barham Court and Teston in the County of Kent, with a special remainder, failing his male issue, to his only daughter and her heirs male.
James Ramsay, who served as a surgeon under Middleton but later took holy orders and served in the West Indies, where he was exposed to the slave trade.
Ramsay's pamphlet was on the evils of the slave trade and especially affected Middleton's wife.