Back in 2011, when I first realised that I have signs of having partly developed as female instead of male, in order to verify a suspicion as to what might have caused it, I did a google search in an attempt to find out what would happen to an unborn male baby if his mother were to take an overdose of contraceptive pills while pregnant with him. I drew a complete blank as far as the medical literature is concerned (other than to discover that it's not all that unusual for ERs to encounter such a situation, where it's treated as a minor poisoning incident, and that there's no long term follow up done of the exposed children). However, up popped a page about Silphium, a herb used by the ancient Greeks and Romans as a contraceptive and abortifacient.
Apparently silphium worked well as a contraceptive, and had similar effectiveness to modern birth control pills. It could also be used to induce miscarriages in already pregnant women. We don't know what gave it its unique properties because it was overharvested to the point where it went extinct partway through the first century AD (sometime during the reign of the emperor Nero, 54 - 68 AD), so all we have left of it now are drawings of the plant, and of its heart-shaped seeds (which are apparently the origin for the symbol we use for love). However, it's though to have contained high levels of phytoestrogens.
No medicine is 100 percent effective, so it's likely that some Greek and Roman babies would have survived an attempt by their mothers to do away with them. Perhaps that's the origin of the hermaphrodite of mythology: a being whose soul is made up of the fusion of a male and a female spirit, inhabiting a body with the genitals of a man, but the arms, legs and breasts of a woman. My breasts never grew very large, but otherwise that's a fairly apt description of who I am.
Apparently, hermaphrodites and other nonbinary representations of people feature quite prominently in ancient Greek and Roman art, but museum curators tend to keep them hidden away.
http://www.artlyst.com/features/transgender-artist-ela-xora-hospitalised-hunger-strike-piers-morgan-comment/