What is Game of Thrones based on?

Game of Thrones is based on the books written by George R. R. Martin called a Song of Ice and Fire.