Lt. General Sir James Douglas-Hamilton, 4th Duke of Hamilton, 1st Duke of Brandon and 1st Baron of Dutton, KG, KT, (11 November 1658 – 15 November 1712) was a Scottish nobleman, the Premier Peer of Scotland and Keeper of the Palace of Holyroodhouse. He was a Master of the Great Wardrobe, Master-General of the Ordnance, Ambassador, Member of Parliament for Lancashire and Colonel-in-Chief of his regiment..