content: 
  ==== ''A Clash of Kings'' ====
  Joffrey is briefly seen in ''A Clash of Kings'' (1998). He rules with whim and caprice, proving difficult for even his mother to control. Sansa becomes imprisoned to his will, and he frequently has his guards beat her when she displeases him. When Stannis Baratheon attacks King's Landing, Joffrey leaves the battlefield, damaging the morale of his army. The battle is only won by his uncle Tyrion's use of wildfire and his grandfather Tywin's last-minute counterattack aided by the forces of House Tyrell.