Complex sentence: In the end he was rescued by Heracles who had come down to the underworld for his 12th task.
Split into simpler sentences: In the end he was rescued by Heracles. He had come down to the underworld for his 12th task.