William Adam was the only surviving son of Jean Ramsay and John Adam of Blairadam, architect and master mason to the Board of Ordnance in Scotland, of Maryburgh, Kinross. His uncle was the architect Robert Adam. Born in Kinross-shire, he was educated at the High School in Edinburgh, the University of Edinburgh and Christ Church, Oxford. He joined Lincoln's Inn in 1769, to qualify as an English barrister. He was admitted to the Faculty of Advocates in 1773 and was eventually called to the English bar in 1782. Adam represented a number of constituencies in Parliament. He was MP for the rotten borough of Gatton 1774–1780. He represented Wigtown Burghs 1780–1784. He was a Treasury nominee for that seat, as a supporter of Lord North. He moved to another Scottish Burgh seat Elgin Burghs 1784–1790. In 1790–1794 he sat for Ross-shire. His last Parliamentary seat was Kincardineshire, which he represented from 1806 until he became a Judge in January 1812. Adam took a very hard line on American issues in the early part of his political career. He was critical of his future political leader Lord North for being too conciliatory before the outbreak of fighting. However, after pursuing an independent course up to 25 November 1779 he then announced in the House of Commons that he was now going to support Lord North. After that he became a loyal friend and defender of North. , depicting his dual with Charles James Fox Adam particularly disliked the leading opposition figure Charles James Fox. At one stage they fought a duel. He also attacked Fox verbally in Parliament. Adam was appointed to the minor political office of Treasurer of the Ordnance. He held this office twice, first between September 1780 and May 1782 and again April–December 1783. On 17–18 February 1783, Adam spoke and voted against peace with the United States. After that, despite his past animosity to Charles James Fox, Adam advocated the Fox-North Coalition, as the only way to stop Lord North's party becoming politically irrelevant. Adam was active in gathering detailed information about the Scottish constituencies, to help his political associates. Thereafter Adam was less involved in politics as he developed his career at the English bar. Through his friendship with the Prince of Wales he was appointed Solicitor General for Scotland and then Attorney General to the Prince. From 1806 to 1815 he was Chancellor of the Duchy of Cornwall, another office in the gift of the Prince. Adam was Lord Lieutenant of Kinross-shire from 1802 until his death. He became a friend of Sir Walter Scott. In 1812, he published Vitruvius Scoticus, a collection of his grandfather William Adam's architectural projects, which the elder William had first initiated in 1727. During the Regency of the Prince of Wales, Adam received judicial office in Scotland. Between 1814 and 1819 he was a Baron of the Scottish Court of Exchequer. Adam became a member of the Privy Council on 17 March 1815. He became Lord Chief Commissioner of the Scottish jury court from 1815 until his death. In 1832-3 his home address was 31 Charlotte Square in Edinburgh. He died in Edinburgh on 17 February 1839 and was buried at Greyfriars Kirkyard He lies in the huge family vault built for his grandfather, William Adam the architect, facing his father, John Adam. The vault lies south-west of the church, in front of the Covenanters Prison.
Family
On 7 May 1777, William Adam married Eleanora Elphinstone, daughter of Charles, 10th Lord Elphinstone. They had six children: