William Johnstone, 2nd Earl of Annandale and Hartfell, 1st Marquess of Annandale KT (17 February 1664 – 14 January 1721) was a Scottish nobleman. He was the son of James Johnstone, 1st Earl of Annandale and Hartfell and Henrietta Douglas. He succeeded to the Earldom of Annandale and Hartfell on the death of his father in 1672.
He was a friend of Monmouth and nominally supported Revolution, but joined "The Club" of Jacobite malcontents and was imprisoned in connection with the Montgomery plot. He was restored to favour on making a confession and was created an Extraordinary Lord of Session in 1693, and a Lord of the Treasury. He received a pension for services in connection with the Glencoe inquiry.
He was created Marquess of Annandale in 1701, Lord High Commissioner to the General Assembly of the Church of Scotland in 1701 and 1711, Keeper of the Privy Seal of Scotland in 1702, and president of the Privy Council of Scotland from 1692 to 1695, 1702–4 and 1705-6. He was appointed a Knight of the Thistle in 1704, joint Secretary of State from March–September 1705.
William was married twice: first on 1 January 1682 to Sophia Fairholme, daughter of John Fairholme of Craigiehall, and second on 20 November 1718 to Charlotte Van Lore Bempde, daughter of John Vanden Bempde of Hackness.
Children of first marriage
by Sophia Fairholme
- Lady Henrietta Johnstone (11 November 1682 – 25 November 1750) married on 31 August 1699 to Charles Hope, 1st Earl of Hopetoun
- Mary Johnstone (15 June 1686 – died an infant)
- James Johnstone, 2nd Marquess of Annandale (1687– 21 February 1730) died unmarried
- John Johnstone born in 1688 and died young
- William Johnstone (1696 – 24 December 1721)
Children of second marriage
by Charlotte Van Lore Bempde
- George Johnstone, 3rd Marquess of Annandale (29 May 1720 – 29 April 1792) died unmarried
- John Johnstone (8 June 1721 – October 1742) married Mary Beddoe of Ludlow
- Burke, Bernard. A Genealogical History of the Dormant, Abeyant, Forfeited, and Extinct Peerages of the British Empire. London: Harrison, 1866. (p. 300) googlebooks. Retrieved 11 December 2008
- stirnet.com. Retrieved 28 July 2007
- Notes and Queries.Vol. 9, no.229, p. 248 London: G. Bell, 1849. googlebooks.com
| Keeper of the Great Seal of Scotland