Skip to main content

a song of ice and fire - Comprehensive Rules for Game of Thrones Lines of Succession



I'm three quarters through the third book, "Storm of Swords" right now (so please, no spoilers from too late in the book or any subsequent books). I just read a part where Tyrion is discussing with Prince Oberyn and they mention the difference between Dornish law and Westerosi law in Line of Succession (ie women can rule under Dornish law).


I'm a little confused trying to puzzle out what the exact LOS rules are.


At first I though it was: at the moment a king/lord dies, to find who holds the title next, you do a depth-first search down the family tree starting with the oldest sibling (ignoring anyone who isn't true-born or has given up their claim ie as Night's Watch or Kingsguard etc.). Then, for Dornish law you take the first living person and for Westerosi law the first living male person found in this way (so succession can pass through a woman in both cases, but only Dornish law actually allows them to claim the title). If there are no valid living heirs, then you work backwards along the paternal line until you find an ancestor who has living heirs and start from them.


But there were various references to if Sansa's brothers were all dead, then her child would claim Winterfell. It seems to me that that's only true if somebody else doesn't get it first. In other words, if Sansa's brothers are killed before she has a child (even if she's already married), doesn't that mean Winterfell would pass to the nearest cousin along her father's line (whomever that may be)? And then because that cousin has already held Winterfell, when they die the next in the line of succession starts from them so Sansa's children's family would not have claim to Winterfell again unless that cousin has no valid heirs.


What am I missing here? Is there some exception? Are there no valid cousins?



Answer



Except for the Dornish, Westerosi succession goes like this:




  1. Succession goes to the King's eldest male child's line, meaning that even if the eldest male child is dead the succession passed through to his heirs, and only after that line is explored do we go to the next step.





  2. When a King has no male children or their lines are extinguished, succession goes to the eldest female child's line.




  3. When a King has no children or their lines are extinguished, we go through the same steps 1 & 2 but among the King's siblings (i.e. His father's children).




  4. If we still have no heirs we go up a level. In other words we search through the King's grandfather's children. If that fails we continue going up until an heir is found (or we run into a stack-overflow exception ;) )





However, one must remember that these are ideal world rules. In practice, when the succession gets convoluted by the lack of direct heirs opportunists will rise up claiming succession (usually backed up by a large army).


Since I'm sure a lot of us here are coders (the OP definitely is) here's my attempt at pseudo code implementation. I'm sure it could be done much better, so feel free to fix.


function FindNextKing ( DeadKing ) {
Let NewKing = FindDirectHeir(DeadKing)
While(NewKing == null)
DeadKing = DeadKing.Father
NewKing = FindDirectHeir(DeadKing)
NewKing.LongLive!
}



function FindDirectHeir ( inheritor ) {
if ( inheritor is alive )
return inheritor //We have found an heir!
else
if ( inheritor.children.count > 0 )
Let heirs = inheritor.children
heirs = heirs.SortByAge()
if ( Dornish != true ) heirs = heirs.StableSortByGender(MaleFirst=true)

foreach(child in heirs)
Let Result = FindDirectHeir(child)
if (Result!=null) return Result
// search failed
return null
}

Comments

Popular posts from this blog

harry potter - Did Dolores Umbridge Have Any Association with Voldemort (or Death Eaters) before His Return?

I noticed that Dolores Umbridge was born during the first Wizarding War, so it's very likely she wasn't a Death Eater then (but she is pretty evil -- who knows?). After that Voldemort was not around in a way that could affect many people, and most wouldn't know he was planning to rise again. During that time, and up through Voldemort's return (in Goblet of Fire ), did Umbridge have any connection with the Death Eaters or with Voldemort? Was she doing what she did on her own, or was it because of an association with Voldemort or his allies? Answer Dolores Umbridge was definitely not a good person. However, as Sirius points out, "the world isn't split into good people and Death Eaters". Remember that he also says that he doesn't believe Umbridge to be a Death Eater, but that she's evil enough (or something like that). I think there are two strong reasons to believe that: Umbridge was proud to do everything according to the law, except when she trie...

What is the etymology of Doctor Who?

I recently decided to watch Doctor Who, and started viewing the 2005 version. I have the first two episodes from the first season, and I can't help but wonder what is the etymology of the name "Doctor Who"? And why does the protagonist call himself "the Doctor" (or is it "the doctor")? Answer In the very first episode of Doctor Who (way back in 1963), the Doctor has a granddaughter going by the name "Susan Foreman", and the junkyard where the TARDIS is has the sign "I.M. Foreman". Barbara, who becomes one of the Doctor's companions, calls him "Doctor Foreman" (probably assuming that is his name given his relationship to Susan), and Ian (another early companion) does the same in the second episode, to which the Doctor says: Eh? Doctor who? What's he talking about? "Foreman" is most likely selected as a convenient surname for Susan to use because it happened to be on display near where the TARDIS landed....

story identification - Animation: floating island, flying pests

At least 20 years ago I watched a short animated film which stuck in my mind. The whole thing was wordless, possibly European, and I'm pretty sure I didn't imagine it... It featured a flying island which was inhabited by some creatures who (in my memory) reminded me of the Moomins. The island was frequently bothered by large winged animals who swooped around, although I don't think they did any actual damage. At the end one of the moomin creatures suddenly gets a weird feeling, feels forced to climb to the top of the island and then plunges down a shaft right through the centre - only to emerge at the bottom as one of the flyers. Answer Skywhales from 1983. The story begins with a man warning the tribe of approaching skywhales. The drummers then warn everybody of the hunt as everyone get prepared to set "sail". Except one man is found in his home sleeping as the noise wake him up. He then gets ready and is about to take his weapon as he hesitates then decides ...