After the publication of Essays Moral and Political in 1741—included in the later edition as Essays, Moral, Political, and Literary—Hume applied for the Chair of Pneumatics and Moral Philosophy at the University of Edinburgh.
However, the position was given to William Cleghorn after Edinburgh ministers petitioned the town council not to appoint Hume because he was seen as an atheist.

In 1745, during the Jacobite risings, Hume tutored the Marquess of Annandale (1720–92), an engagement that ended in disarray after about a year.
Hume then started his great historical work, The History of England, taking fifteen years and running to over a million words.
During this time he was also involved with the Canongate Theatre through his friend John Home, a preacher.

In this context, he associated with Lord Monboddo and other Scottish Enlightenment luminaries in Edinburgh.
From 1746, Hume served for three years as secretary to General James St Clair, who was envoy to the courts of Turin and Vienna.
At that time Hume also wrote Philosophical Essays Concerning Human Understanding, later published as An Enquiry Concerning Human Understanding.
Often called the First Enquiry, it proved little more successful than the Treatise, perhaps because of the publication of his short autobiography My Own Life, which "made friends difficult for the first Enquiry".

In 1749 he went to live with his brother in the countryside, although he associated with Lord Monboddo and other Scottish Enlightenment luminaries in Edinburgh.
After the publication of Essays Moral and Political in 1741—included in the later edition as Essays, Moral, Political, and Literary—Hume applied for the Chair of Pneumatics and Moral Philosophy at the University of Edinburgh. However, the position was given to William Cleghorn after Edinburgh ministers petitioned the town council not to appoint Hume because he was seen as an atheist.
In 1745, during the Jacobite risings, Hume tutored the Marquess of Annandale (1720–92), an engagement that ended in disarray after about a year. Hume then started his great historical work, The History of England, taking fifteen years and running to over a million words. During this time he was also involved with the Canongate Theatre through his friend John Home, a preacher.
In this context, he associated with Lord Monboddo and other Scottish Enlightenment luminaries in Edinburgh. From 1746, Hume served for three years as secretary to General James St Clair, who was envoy to the courts of Turin and Vienna. At that time Hume also wrote Philosophical Essays Concerning Human Understanding, later published as An Enquiry Concerning Human Understanding. Often called the First Enquiry, it proved little more successful than the Treatise, perhaps because of the publication of his short autobiography My Own Life, which "made friends difficult for the first Enquiry".
In 1749 he went to live with his brother in the countryside, although he associated with Lord Monboddo and other Scottish Enlightenment luminaries in Edinburgh.
David Hume