The first five seasons of the show primarily follow the storylines in the first five novels:
* A Game of Thrones (Season 1)
* A Clash of Kings (Season 2)
* A Storm of Swords (Seasons 3 & 4)
* A Feast for Crows (Season 5, partially)
* A Dance with Dragons (Season 5, partially)
The show's final three seasons, however, began to deviate significantly from the books as Martin had not yet published the next two novels in the series. This led to original storylines and endings for many characters, which were not found in the books.