what did the king of mycanae do for a punishment for hercules

The king of Mycenae, named Eurystheus, imposed a series of Twelve Labors on Hercules as punishment for the crime of killing his wife and children in a fit of madness induced by the goddess Hera. The Twelve Labors were tasks that were considered impossible for a mortal to complete, but Hercules successfully completed them all with the help of his strength, courage, and divine assistance.