sentence: Whether or not these restrictions were carried out with absolute success in his reign , eunuchs during the Yongle Emperor 's reign and afterwards managed huge imperial workshops , commanded armies , and participated in matters of appointment and promotion of officials .
question: when was someone promoted _ _ _ ?
answers: during the Yongle Emperor 's reign and afterwards