William Hamilton, 2nd Duke of Hamilton KG (14 December 161612 September 1651) was a Scottish nobleman who supported both Royalist and Presbyterian causes during the Wars of the Three Kingdoms. Life Hamilton was born at Hamilton Palace in December 1616, the younger son of James Hamilton, 2nd Marquess of Hamilton and Lady Ann Cunningham. Hamilton was educated at the University of Glasgow, and from there travelled to Continental Europe, where he spent time at the court of Louis XIII of France, on his return aged 21 he established himself as a favourite at the court of Charles I in London. Hamilton was created Earl of Lanark, Lord Machanshyre and Polmont in the Peerage of Scotland in 1639, and in April 1640 was elected Member of Parliament for Portsmouth in the House of Commons of England for the Short Parliament. He became Secretary of State for Scotland. In 1643, he was arrested at Oxford on the orders of King Charles I for "concurrence" with his brother the Duke of Hamilton. He escaped and was temporarily reconciled with the Presbyterian party. After taking part in the Battle of Kilsyth on the covenanter side, Hamilton was sent by the Scottish Estates of the Realm to treat with Charles I at Newcastle in 1646, when he sought in vain to persuade the king to consent to the establishment of Presbyterianism in England. On 26 September 1647 he signed, on behalf of the Scots, the treaty with Charles known as the "Engagement", at Carisbrooke Castle, and helped to organise the Second English Civil War. In 1648 Hamilton fled to Holland to the court in exile of the Prince of Wales at The Hague. The following year he succeeded to the Dukedom of Hamilton, the Marquisate of Hamilton, the Earldoms of Arran and Cambridge and Lordhips of Aven and Innerdale following his brother's execution, making him the most senior figure among the Scots Royalist exiles. In 1650, the insignia of the Order of the Garter were conferred upon him. He returned to Scotland with King Charles II in 1650, but, finding a reconciliation with the Marquess of Argyll impossible, he refused to prejudice Charles's cause by pushing his claims. Hamilton retired to his estates on the Isle of Arran until the Scottish invasion of England during the Third English Civil War, when he acted as colonel of a regiment drawn mainly from his tenantry. Hamilton died