In Phrygian and Sumerian mythology, Agdistis was a hermaphrodite monster. He was drugged by the gods by wine added to the pool where he bathed, and while he slept his genitals were tied to a tree. Upon waking he castrated himself and a tree (some say a pomegranate tree others an almond tree) grew from his genitals. Found on http://www.probertencyclopaedia.com/browse/D8.HTM