Hera had done this to even the score with her husband for having given birth to Dionysus by himself. Here is short version of that story: Semele, one of Zeus' many lovers, lay dying while pregnant with Zeus' son Dionysus. With the help of Hermes, Zeus removed the unborn child and implanted him under the skin of his thigh where he remained until he was ready to be born.