If the Hatter dies and Legion is in play, nothing happens. If the Hatter dies and an evil player chooses Legion, all current evil players become Legion.
If the game ends due to the Cult Leader's ability and no other characters were eliminated: retire the Cult Leader.
If a character would be eliminated due to the Virgin's ability, retire the Virgin instead.
If Legion is the last character to die due to execution in a game, and loses as a result: Legion is eliminated.