Mary died on 12 December 1694 of smallpox, leaving William to rule alone. He was eventually succeeded by his sister-in-law, Queen Anne. One more fact is of great importance. In 1701 an Act of Parliament was passed which settled the succession of the thrones of England and Ireland on Protestants only. Scotland was not part of this arrangement until the parliamentary union of the two kingdoms in 1707.