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

futurama - How much time is lost in 'Time Keeps on Slippin''

In time Keeps on Slippin' , Farnsworth creates a basketball team which he matures by abusing Chronitons. This leads to time skipping forward by random, but ever increasing amounts. How much time was skipped in this way? Answer Unfortunately, I don't think a good estimate can be made for this, for two reasons: Many of the time skips move forward by an indeterminate amount of time. At one point, the Professor mentions localized regions of space skipping forward much more than others. We then see two young boys on the street below complaining about having to pay social security, only to suddenly become senior citizens and start complaining about wanting their money. Thus, each individual could have experienced a different amount of time skippage.

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...

aliens - Interstellar Zoo story

I vaguely remember this story from my childhood: it was about an interstellar zoo that came to Earth with lots of bizarre and unusual species, and humans would file through and gape at all the crazy looking creatures from other planets. The twist came at the end when the perspective shifted to the other side of the bars and we discovered that the "creatures" were traveling through space on a kind of safari. They thought they were the visitors and we were the animals. Neither side knew that the other side thought they were the zoo creatures. Answer Got it. Zoo, by Edward D. Hoch. Published in 1958. Link to Publication History Link to PDF

Which Doctor Who works are canon?

I have been watching a Doctor Who documentary and they mentioned that Paul McGann did audio stories so he wasn't just a one-hit Doctor (and that there are novels featuring his Doctor as well). My question is: is Doctor Who canon just the show, or is it like Star Wars where some books and audios are canon and some are not? The documentary also shows that before 2005 they did audio stories where the Doctor is female and obviously that cannot be — not the female part, but the show doesn't count any female Doctors in episodes like The Day of the Doctor . Answer Nothing, and also everything The definitive piece of writing on Doctor Who canon is this blog post by writer Paul Cornell . I'm essentially going to be summarizing his post here, much less eloquently, but one section I want to quote directly is this: Nobody at the BBC has ever uttered a pronouncement about what is and isn't canonical. (As I'm sure they'd put it, being such enthusiasts for good grammar.) Be...