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.