 When they came to power, eunuchs would even interfere in politics such as succession to the throne.While eunuchs were employed in all Chinese dynasties, their number decreased significantly under the Qing, and the tasks they performed were largely replaced by the Imperial Household Department.At the beginning of the 20th century, there were about 2,000 eunuchs working in the Forbidden City.