content: 
  ===''A Clash of Kings''===
  Tyrion arrives at King's Landing in ''A Clash of Kings'' (1998) and immediately recognizes the chaos created by Joffrey and Cersei. Seeking to consolidate power and preserve order in the capital, Tyrion methodically removes Cersei's supporters from positions of power. Disgusted by Joffrey's behavior and Cersei's failure to control him, Tyrion openly opposes the young king and tries to keep royal captive Sansa Stark out of harm's way. Tyrion masterminds the defense of King's Landing against Stannis Baratheon, even leading a sortie that drives Stannis from the gates. Afterwards, Tyrion is attacked and is grievously injured by one of the Kingsguard on orders to kill him. Tyrion suspects Joffrey or Cersei, but is unable to get revenge on either.