In the Scottish case, the attractions were partly financial and partly to do with removing English trade sanctions put in place through the Alien Act 1705. The English were more anxious about the royal succession. The death of William III in 1702 had led to the accession of his sister-in-law Anne to the thrones of England and Scotland, but her only surviving child had died in 1700, and the English Act of Settlement 1701 had given the succession to the English crown to the Protestant House of Hanover. Securing the same succession in Scotland became the primary object of English strategic thinking towards Scotland. By 1704, the Union of the Crowns was in crisis, with the Scottish Act of Security allowing for the Scottish Parliament to choose a different monarch, which could in turn lead to an independent foreign policy during a major European war. The English establishment did not wish to risk a Stuart on the Scottish throne, nor the possibility of a Scottish military alliance with another power.