Wolfenbüttel. Whenever a branch of the family died out in the male line, the territory was given to another line, as the duchy remained enfeoffed to the family as a whole rather than its individual members. All members of the House of Welf, male or female, bore the title Duke/Duchess of Brunswick-Lüneburg in addition to the style of the subordinate principality. By 1705, the subordinate principalities had taken their final form as the Electorate of Hanover and the Principality of Brunswick-Wolfenbüttel, and these would become the Kingdom of Hanover and the Duchy of Brunswick after the Congress of Vienna in 1815. Principality of Brunswick-Wolfenbüttel In 1269 the Principality of Brunswick was formed following the first division of the Duchy of Brunswick-Lüneburg. In 1432, as a result of increasing tensions with the townsfolk of Brunswick, the Brunswick Line moved their residence to Wolfenbüttel Castle, thus the name Wolfenbüttel became the unofficial name of this principality. With Ivan VI of Russia the Brunswick line even had a short intermezzo on the Russian imperial throne in 1740. Not until 1754 was the residence moved back to Brunswick, into the new Brunswick Palace. In 1814 the principality became the Duchy of Brunswick, ruled by the senior branch of the House of Welf. Principality of Calenberg – later Electorate of Brunswick-Lüneburg In 1432 the estates gained by the Principality of Brunswick-Wolfenbüttel between the Deister and Leine split away as the Principality of Calenberg. In 1495 it was expanded around Göttingen and in 1584 went back to the Wolfenbüttel Line. In 1634, as a result of inheritance distributions, it went to the House of Luneburg residing at Celle Castle. In 1635 it was given to George, younger brother of Prince Ernest II of Lüneburg, who chose Hanover as his residence. New territory was added in 1665, and in 1705 the Principality of Luneburg was taken over by the Hanoverians. In 1692 Duke Ernest Augustus from the Calenberg-Hanover Line acquired the right to be a prince-elector of the Holy Roman Empire as the Prince-Elector of Brunswick-Lüneburg. Colloquially the Electorate was known as the Electorate of Hanover. In 1814 it was succeeded by the Kingdom of Hanover. British succession Religion-driven politics placed Ernest Augustus's wife Sophia of the Palatinate in the line of succession to the British crown by the Act of Settlement 1701, written to ensure a Protestant succession to the thrones of Scotland and England at