Around 250 BC, during the Parthian Empire, the Zoroastrian text Vendidad was written. It contains provisions that are part of sexual code promoting procreative sexuality that is interpreted to prohibit same-sex intercourse as sinful. Ancient commentary on this passage suggests that those engaging in sodomy could be killed without permission from a high priest. However, a strong homosexual tradition in Iran is attested to by Greek historians from the 5th century onward, and so the prohibition apparently had little effect on Iranian attitudes or sexual behavior outside the ranks of devout Zoroastrians in rural eastern Iran.