text: Later, near an abandoned holdfast by the God's Eye lake, the recruits are attacked by Lannister soldiers led by Ser Amory Lorch.  Yoren is killed in the fight, and Gendry along with Arya, Lommy and Hot Pie escape the burning holdfast through a secret tunnel. Whilst on a reconnaissance run with Arya, Gendry confronts her about her true gender and identity. He eventually has the truth out of her and is subsequently embarrassed by how crass he had spoken to her when she was in fact a highborn lady.  Gendry is later captured by Ser Gregor Clegane's soldiers, but is spared from death since his metalworking skill is useful as a slave laborer.  After Lannister man-at-arms Rafford kills the injured Lommy, they are taken to Harrenhal, where Gendry works as a smith.  When Arya decides to escape from Harrenhal, however, she persuades Gendry and Hot Pie to join her.
  A Storm of Swords
  While wandering around the Riverlands looking for the direction of Riverrun, Arya, Gendry and Hot Pie are captured by the Brotherhood without Banners, led by a resurrected Beric Dondarrion.  At the Peach brothel in Stoney Sept, Gendry declines the seductive advance by Bella (his unknown half-sister), but later argues with Arya out of jealousy because she was talking to Beric's squire Edric Dayne, who claims to be Jon Snow's milk brother.  Gendry is later impressed with Thoros of Myr's description of the ideals of the brotherhood, and decides to join them.  He is knighted by Beric, thus becoming Ser Gendry, knight of the hollow hill.
  A Feast for Crows
  While questing to find Sansa Stark, Brienne of Tarth encounters Gendry working as a smith at the Inn at the Crossroads along with a group of orphans, and is struck by his resemblance to the late Renly Baratheon. At the inn, Brienne encounters and duels with Rorge, killing him, only to be savaged by Biter;  Gendry saves Brienne's life by driving a spear through Biter's neck.
  Family tree of House Baratheon