The Act of Supremacy 1558 had confirmed the Church of England's independence from Roman Catholicism under the English monarch. In the political crises known as the Glorious Revolution of 1688 one issue was perceived assaults on the Church of England by King James II, a Roman Catholic. James was deposed in favor of his daughter Mary II and her husband William III. The need for the Act of Settlement was prompted by the failure of William and Mary, as well as of Mary's sisterthe future Queen Anneto produce any surviving children, and the Roman Catholic religion of other members of the House of Stuart. The line of Sophia of Hanover was the most junior among the Stuarts, but consisted of convinced Protestants willing to uphold the Church of England. Sophia died on 8 June 1714, before the death of Queen Anne on 1 August 1714. On Queen Anne's death, Sophia's son duly became King George I and started the Hanoverian dynasty in Britain.