Jacobitism began after the deposition of James II and VII in 1688 . He was replaced by his daughter Mary II jointly with her husband and first cousin William of Orange . Jacobitism was a response to the deposing of James II and VII in 1688 when he was replaced by his daughter Mary II jointly with her husband and first cousin William of Orange .