 In 1828 King William I adopted a new house law, the rights and obligations of the ruling family have been established, including the exclusive primogeniture in the male line as well as marriage restrictions on coequal level.In 1867 the House created the Royal Dukedom of Urach for a younger cousin, Prince Wilhelm, 1st Duke of Urach, whose parents had married morganatically in 1800, whereby their sons were excluded from ruling the kingdom.In 1871 the Royal Dukedom of Teck was created for the same dynastic reason for Francis, Duke of Teck.