We were first introduced to Gendry midway through season one. While Ned Stark was investigating King’s Landing’s various mysteries, he was introduced to Gendry, a seemingly unremarkable blacksmith’s apprentice. Ned soon discerned that Gendry was in fact a bastard son of King Robert Baratheon (a fact Gendry remained unaware of).
After Robert’s death and the ascension of Prince Joffrey to the throne, Gendry was warned that he wasn’t safe and that he should leave the city. He joined a traveling party that was recruiting men for the Night’s Watch — a party that included an incognito Arya Stark. (As well as Hot Pie.)
Gendry and Arya went through a lot together and bonded, sending shippers’ hearts a-flutter despite Arya’s then-young age. They were attacked by Lannister forces and taken prisoner in season two. They eventually escaped (with the help of Arya’s favorite Faceless Man Jaqen H’ghar), but by the beginning of season three, they were prisoners again, this time of the Brotherhood Without Banners.
Led by Beric Dondarrion and the red priest Thoros of Myr, the Brotherhood was an outlaw group that professed to fight for the people of Westeros. And at first, Gendry liked what they were selling, and volunteered to join the group.
But it turned out the Brotherhood also served another master: the Lord of Light, the god they believed was responsible for Beric’s multiple resurrections from the dead. So when another servant of that god — Melisandre — showed up and said she needed Gendry, Beric and Thoros handed him right over.
After finally telling the boy about his royal father and bringing him to Dragonstone, Melisandre made clear that she had big plans for Gendry: She wanted to burn him alive as part of a magical ritual she hoped would change Stannis Baratheon’s fortunes in the war. But the good-hearted Davos Seaworth stepped in, defying his king to smuggle Gendry out of the castle, sending him off in a rowboat at the end of season three.