 Castration was sometimes punitive; under Assyrian law, homosexual acts were punishable by castration.Eunuchs were familiar figures in the Assyrian Empire (ca.850 until 622 BC) and in the court of the Egyptian Pharaohs (down to the Lagid dynasty known as Ptolemies, ending with Cleopatra, 30 BC).