over the millennia since, eunuchs had a lot of different functions in different cultures such as domestics, treble singers, religious specialists, government officials, military commanders, and guardians of women or harem servants. when eunuchs ran a harem, a monarch could be sure he was the one who fathered his wives' children since eunuchs were always infertile.