Alexander Carlyle (26 January 1722 – 28 August 1805) was a Scottish church leader, and autobiographer. He was born in Cummertrees, Dumfriesshire, the son of the local minister, but brought up in Prestonpans, East Lothian. he witnessed the Battle of Prestonpans in 1745. Carlyle was educated at the University of Edinburgh (M.A. 1743), University of Glasgow and University of Leiden. From 1748 until his death he was minister at Inveresk in Midlothian, and during this long career rose to high eminence in his church not only as leader of the moderate or "broad" Church section, but as Moderator of the General Assembly 1770 and Dean of the Chapel Royal in 1789. He was associated with Principal Robertson as an ecclesiastical leader. His striking personal appearance earned him the nickname of "Jupiter Carlyle"; and his autobiography, which was ed. by Hill Burton, and published 1860, though written in his closing years and not extending beyond the year 1770, is interesting as a picture of Scottish life, social and ecclesiastical, in the 18th century. Carlyle's autobiography recalled the Porteous Riots of 1736, and his friendship with Adam Smith, David Hume, Charles Townshend and John Home, the dramatist, for witnessing the performance of whose tragedy Douglas he was censured in 1757. Also a member of The Poker Club.