suddenly the beloved king returns , rescued by his nephew , who suddenly becomes the hero , and the villain , having already been hanged for his crimes , has been punished , and nobody can prove if he was or wasnt involved in the plot .