Ottoman Empire
In the Ottoman Empire, eunuchs were typically slaves imported from outside their domains. A fair proportion of male slaves were imported as eunuchs. The Ottoman court harem—within the Topkapı Palace (1465–1853) and later the Dolmabahçe Palace (1853–1909) in Istanbul—was under the administration of the eunuchs. These were of two categories: black eunuchs and white eunuchs. Black eunuchs were African slaves who served the concubines and officials in the Harem together with chamber maidens of low rank. The white eunuchs were European slaves from the Balkans or the Caucasus, either purchased in the slave markets or taken as boys from Christian families in the Balkans who were unable to pay the Jizya tax. They served the recruits at the Palace School and were from 1582 prohibited from entering the Harem. An important figure in the Ottoman court was the Chief Black Eunuch (Kızlar Ağası or Dar al-Saada Ağası). In control of both the Harem and a net of spies among the black eunuchs, the Chief Eunuch was involved in almost every palace intrigue and thereby could gain power over either the sultan or one of his viziers, ministers, or other court officials. One of the most powerful Chief Eunuchs was Beshir Agha in the 1730s, who played a crucial role in establishing the Ottoman version of Hanafi Islam throughout the Empire by founding libraries and schools.
In an influential 1925 essay on the word eunuch and related terms, Ernst Maass suggested that Eustathiuss derivation "can or must be laid to rest", and he affirmed the derivation from eunē and ekhein ("guardian of the bed"), without mentioning the other derivation from eunoos and ekhein ("having a well-disposed state of mind"). In Latin, the words eunuchus, spado (Greek: σπάδων spadon), and castratus were used to denote eunuchs. By region and epoch
Ancient Middle East
The four-thousand-year-old Egyptian Execration Texts threaten enemies in Nubia and Asia, specifically referencing "all males, all eunuchs, all women. "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 BCE) and in the court of the Egyptian Pharaohs (down to the Lagid dynasty known as Ptolemies, ending with Cleopatra VII, 30 BCE). Eunuchs sometimes were used as regents for underage heirs to the throne, as it seems to be the case for the Neo-Hittite state of Carchemish. Political eunuchism became a fully established institution among the Achamenide Persians. Eunuchs held powerful positions in the Achaemenide court. The eunuch Bagoas (not to be confused with Alexanders Bagoas) was the Vizier of Artaxerxes III and Artaxerxes IV, and was the primary power behind the throne during their reigns, until he was killed by Darius III.Marmon (1995) writes "Mamluk biographies of the eunuchs often praise their appearance with adjectives such as jamil (beautiful), wasim (handsome), and ahsan (the best, most beautiful) or akmal (the most perfect)."