Second marriage
A year after his wife's death Hamilton had a third period of leave in Britain. This time he visited his estates in Wales and went on a trip to Scotland with his nephew Charles Greville, who was a younger son of the Earl of Warwick and Hamilton's sister Elizabeth. When Hamilton made a will during that visit to Britain he made Greville his heir. In London, Hamilton met Emma Hart who at that time was Greville's mistress.
On his return to Naples, Hamilton was lonely. "After having lived 22 years en famille it is most terrible to live chiefly alone", he wrote to his niece. Meanwhile, Greville, who wanted to search for a wealthy wife, was hatching a plan to persuade his uncle to take Emma off his hands. Somewhat reluctantly Hamilton agreed to the plan and Emma arrived in Naples on her 21st birthday, 26 April 1786. With her was her mother, who went by the name of Mrs Cadogan, and who would live with Emma and Hamilton until she died in 1810. The women were installed in an apartment in the Palazzo Sessa, and provided with a carriage and wardrobes. Tutors were hired to give Emma lessons in Italian and singing. It was some months though before Emma accepted the fact that Greville was not going to join her in Naples or send for her to go back to England. At that point she decided to become Hamilton's mistress.
Hamilton and Emma married five years later, when Hamilton obtained leave of three months in Britain. As he held a public position he had to ask the King's permission. The ceremony was a quiet one in St Marylebone Parish Church, taking place on 6 September 1791, two days before the couple's return to Naples. Emma signed the register as Amy Lyons; the witnesses were Hamilton's cousin the Marquess of Abercorn and Louis Dutens, who had been chaplain at Turin. The following day Hamilton was sworn of the Privy Council in 1791.
For most of Hamilton's time as ambassador, Naples had been a political backwater. But when France declared war on Britain in 1793 events in Naples became more turbulent, and Hamilton's role became more important, just as his health was declining. Nelson's fleet arrived in the Bay of Naples after defeating the French Fleet at the Battle of the Nile in August 1798 and Nelson was a guest of the Hamiltons. At the end of the year the King and Queen abandoned Naples as the French Army advanced and fled to Palermo in Sicily. The Hamiltons went with them.