20,000 Women and 100,000 Castrated Men to Serve the Emperor: The Imperial Harem of China
In Imperial China, one of the important tasks that the emperor needed to do was to ensure the continuation of the dynasty, which was achieved by the production of a male heir.
Source: ancient-origins.net