He captured Ramsay rather than executing him; though Jon’s half-sister Sansa Stark (Turner) later fed Ramsay to his own dogs (RIP Ramsay, you’re in hell).
In case you missed the epic (and Emmy nominated) “Battle of the Bastards” from Game of Thrones’ sixth season, Harington’s Jon Snow laid siege to his former home of Winterfell, held by the sadistic Ramsay Bolton (Rheon).
And how many giants had to die before this game ended (RIP Wun-Wun, you’re in wherever beautiful giants go when they die)?
Though it led to the death to one of the Stark siblings (RIP Rickon, you’re in walnut heaven now), Jon was eventually triumphant.