In the revolution of 1688-1689, James VII and II had been overthrown. The English Parliament had invited his Protestant daughter Mary and her husband William of Orange to become joint monarchs.
The supporters of the deposed King James VII and II became known as Jacobites.
King William wanted Jacobite clans to swear loyalty to him but this led to rebellion.
In 1689, Scottish supporters of James VII and II united under Viscount Dundee. They confronted the army of King William at the Battle of Killiecrankie. Although the Jacobites won the battle, Viscount Dundee was killed and support for military action died with him at this point.
The Jacobites would attempt to take military action again in 1708, 1715 and 1745.