The Hongwu emperor issued many edicts forbidding Mongol practices and proclaiming his intention to purify China of barbarian influence. However, he also sought to use the Yuan legacy to legitimize his authority in China and other areas ruled by the Yuan. He continued policies of the Yuan dynasty such as continued request for Korean concubines and eunuchs, Mongol-style hereditary military institutions, Mongol-style clothing and hats, promoting archery and horseback riding, and having large numbers of Mongols serve in the Ming military. Until the late 16th century Mongols still constituted one-in-three officers serving in capital forces like the Embroidered Uniform Guard, and other peoples such as Jurchens were also prominent. He frequently wrote to Mongol, Japanese, Korean, Jurchen, Tibetan, and Southwest frontier rulers offering advice on their governmental and dynastic policy, and insisted on leaders from these regions visiting the Ming capital for audiences. He resettled 100,000 Mongols into his territory, with many serving as guards in the capital. The emperor also strongly advertised the hospitality and role granted to Chinggisid nobles in his court.