Akrisios was told by an oracle that he would be killed by his grandchild. Because of that he put his daughter Danaë in a tower where noone was allowed to enter, so she could not have a child. But the god Zeus could enter in the form of a golden rain, and with him her child was Perseus.