Jacobitism was a political ideology advocating the restoration of the senior line of the House of Stuart to the British throne. When James II of England chose exile after the November 1688 Glorious Revolution, the Parliament of England ruled he had "abandoned" the English throne, which was given to his Protestant daughter Mary II of England, and his nephew, her husband William III. On the same basis, in April the Scottish Convention awarded Mary and William the throne of Scotland.
The Revolution created the principle of a contract between monarch and people, which if violated meant the monarch could be removed. A key tenet of Jacobitism was that kings were appointed by God, making the post-1688 regime illegitimate. However, it also functioned as an outlet for popular discontent, and thus was a complex mix of ideas, many opposed by the Stuarts themselves. Conflict between Prince Charles and Scottish Jacobites over the Acts of Union 1707 and divine right seriously undermined the 1745 rising.