section_path: Biography/Death
section_name: Death
paragraph_text: Death
  
  Smith died in the northern wing of Panmure House in Edinburgh on 17 July 1790 after a painful illness. His body was buried in the Canongate Kirkyard. On his deathbed, Smith expressed disappointment that he had not achieved more.
  
  Smith's literary executors were two friends from the Scottish academic world: the physicist and chemist Joseph Black and the pioneering geologist James Hutton. Smith left behind many notes and some unpublished material, but gave instructions to destroy anything that was not fit for publication. He mentioned an early unpublished History of Astronomy as probably suitable, and it duly appeared in 1795, along with other material such as Essays on Philosophical Subjects.
  
  Smith's library went by his will to David Douglas, Lord Reston (son of his cousin Colonel Robert Douglas of Strathendry, Fife), who lived with Smith. It was eventually divided between his two surviving children, Cecilia Margaret (Mrs. Cunningham) and David Anne (Mrs. Bannerman). On the death in 1878 of her husband, the Reverend W. B. Cunningham of Prestonpans, Mrs. Cunningham sold some of the books. The remainder passed to her son, Professor Robert Oliver Cunningham of Queen's College, Belfast, who presented a part to the library of Queen's College. After his death, the remaining books were sold. On the death of Mrs. Bannerman in 1879, her portion of the library went intact to the New College (of the Free Church) in Edinburgh and the collection was transferred to the University of Edinburgh Main Library in 1972.