Following the Glorious Revolution, the line of succession to the English throne was governed by the Bill of Rights 1689, which declared that the flight of James II from England to France during the revolution amounted to an abdication of the throne and that James's daughter Mary II and her husband, William III (who was also James's nephew), were James's successors. The Bill of Rights also provided that the line of succession would go through their descendants, then through Mary's sister Anne and her descendants, and then to the issue of William III by a possible later marriage. During the debate, the House of Lords had attempted to append Sophia and her descendants to the line of succession, but the amendment failed in the Commons.