The Glorious Revolution, also known as the Revolution of 1688, was the deposition of King James II Stuart (James II of England and Ireland and James VII of Scotland) in November 1688. He was replaced by his daughter Mary II and her Dutch husband, stadtholder William III of Orange (William III and II), a nephew of James who thereby had an interest to the throne irrespective of his marriage to his cousin Mary. The two ruled as joint monarchs of England, Scotland, and Ireland until Mary's death in 1694, when William became ruler in his own right. Jacobitism, the political movement that aimed to restore the exiled James or his descendants of the House of Stuart to the throne, persisted into the late 18th century. William's invasion was the last successful invasion of England.
Despite his own Catholicism, usually an impediment to Protestant support, James became king in February 1685 with widespread backing from the Protestant majorities in England and Scotland, as well as largely Catholic Ireland. However, his policies quickly eroded support and by June 1688, dissatisfaction turned into active, yet largely unarmed, resistance. The prospect of a Catholic dynasty following the birth of his son James Francis Edward Stuart on 10 June led a group of domestic opponents to issue the Invitation to William, seeking Dutch support to remove him.