Glorious Revolution
Even after that was declared, there was still strong support for James in Scotland. John Graham of Clevehouse, the Viscount of Dundee, raised an army and won a victory at Killiecrankie on 27 July. However, Dundee's army suffered great losses, and he was seriously wounded at the start of the battle. This stopped the only effective resistance to William, and the revolt was quickly crushed. The next month, there was a great defeat for James at the Battle of Dunkeld.