Career
In his 41 years Earl Wemyss married three times:
(13 August 1697) Lady Anne Douglas (d 23 February 1700), the only daughter of William Douglas, 1st Duke of Queensberry, two sons, David, Lord Elcho (d 1715), and James (1699–1756), who became 5th Earl of Wemyss
(5 January 1709) at Street Martin-in-the-Fields, London Mary Robinson (d 1711/12), daughter of Sir John Robinson
(July 1716) Elizabeth Saint Clair (d 1721), daughter of Henry, Lord Sinclair. Two daughters: Elisabeth, who married William Sutherland, 17th Earl of Sutherland, and Margaret, who married James Stuart, 8th Earl of Moray. Entered parliament on 28 June 1705, and was the same year sworn of the privy council.
He was one of the commissioners for the treaty of Union with England.
In 1706 he was appointed High Admiral of Scotland, and this office having been abolished at the Union, he was then constituted Vice Admiral of Scotland.