What hero performed twelve remarkable labors to please a vengeful king?

Heracles was the hero who performed twelve remarkable labors to please a vengeful king.