A year after their meeting, the Parliament of England passed the Act of Settlement 1701 declaring that, in the event of no legitimate issue from Anne or William III, the crowns of England and Ireland were to settle upon "the most excellent princess Sophia, electress and duchess-dowager of Hanover" and "the heirs of her body, being Protestant". Scotland being a separate state in international law at the time, this did not mean she would also succeed Anne as Queen of Scotland, which led to a succession crisis and eventually to the Treaty of Union between Scotland and England in 1706/7.