Complex sentence: He appears in almost every episode trying to foil Santa's plan, but in the end he often ends up stuck in his own trap.
Split into simpler sentences: He appears in almost every episode trying to foil Santa's plan. But in the end he often ends up stuck in his own trap.