In these circumstances the Act of Settlement was passed, enacting that, in default of issue to either William or: Anne, the crown of England, France 4 and Ireland was to pass to "the most excellent princess Sophia, electress and duchess dowager of Hanover," a grand-daughter of James I., and "the heirs of her body being Protestants."
Towards the end of the 15th century it passed to Brandenburg, and, in 1684, after a great conflagration which laid it in ruins, was handsomely rebuilt by the electress Dorothea.
Besides several children who died in infancy she had Henry, prince of Wales, who died in 1612, Charles, afterwards King Charles anct Elizabeth, electress palatine and queen of Bohemia.
In addition to those descended from these two marriages there are also the descendants of Edward, a brother of the electress Sophia.
In October 1585 the electress Anna died, and a few weeks later Augustus married Agnes Hedwig, a daughter of Joachim Ernest, prince of Anhalt.
Marlborough's successive victories, and especially the factious conduct of the Tories, who in November 1705 moved in parliament that the electress Sophia should be invited to England, drove Anne farther to the side of the Whigs.
The wish expressed by the Whigs, that a member of the electoral family should be invited to England, had already aroused the queen's indignation in 1708; and now, in 1714, a writ of summons for the electoral prince as duke of Cambridge having been obtained, Anne forbade the Hanoverian envoy, Baron Schutz, her presence, and declared all who supported the project her enemies; while to a memorial on the same subject from the electress Sophia and her grandson in May, Anne replied in an angry letter, which is said to have caused the death of the electress on the 8th of June, requesting them not to trouble the peace of her realm or diminish her authority.
1705, and in 1706 had bestowed the Garter on the electoral prince and created him duke of Cambridge; while the Regency Act provided for the declaration of the legal heir to the crown by the council immediately on the queen's death, and a further enactment naturalized the electress and her issue.
The elector of Hanover, George Louis, son of the electress Sophia (daughter of Elizabeth, daughter of James I.), peacefully succeeded to the throne as George I.
In 1711 the Princess Palatine wrote to the Electress Sophia of Hanover, and suggested that he was an English nobleman who had taken part in a plot of the duke of Berwick against William III.
During this period several suburbs had begun to grow up, Friedrichswerder in 1667 and the Dorotheenstadt, so named in 1676 after the electress Dorothea its founder.
In 1701 Toland spent a few weeks at Hanover as secretary to the embassy of the earl of Macclesfield, and was received with favour by the electress Sophia in acknowledgment of his book Anglia Libera, a defence of the Hanoverian succession.
In the preceding year (1700) he had given office to a Tory ministry, and he now (1701) gave his assent to the Act of Settlement, which secured the succession of the crown to the electress Sophia of ~neit.
Frederick's chief adviser about this time was Eberhard Danckelmann (1643-1722), whose services in continuing the reforming work of the great elector were very valuable; but having made many enemies, the electress Sophia among them, he fell from power in 1697, and was imprisoned for several years.