He then led the final assault at the Battle of Blenheim attacking the village churchyard with eight battalions of men and then receiving the surrender of its French defenders during the War of the Spanish Succession.
[2] On 25 November 1695 Hamilton married Elizabeth Villiers, a favourite and perhaps former mistress of William III, and on 3 January 1696 he was created Earl of Orkney, Viscount Kirkwall, and Baron Dechmont in the Peerage of Scotland.
[3] Promoted to major general on 9 March 1702, Hamilton fought under John Churchill, 1st Duke of Marlborough at the siege of Stevensweert in October 1702 during the War of the Spanish Succession.
[3] Hamilton led a diversion at the Battle of Ramillies but turned the manoeuvre into a highly successful assault, from which he had to withdraw before leading the relentless pursuit of the defeated French troops in May 1706.
[3] He also saw action at the passage of the Scheldt in November 1708, fought at the siege of Tournai in June 1709 and led the charge of fifteen infantry battalions in an extremely bloody assault on the French entrenchments at the Battle of Malplaquet in September 1709.