A Storm of Swords
"The Laws of Gods and Men" was written by Bryan Cogman, based upon the source material, Martin's "A Storm of Swords". Chapters adapted from "A Storm of Swords" to the episode were chapters 66 and 70 (Tyrion IX and Tyrion X).