Ministry of Rites
The fleet returned to Nanjing on 2 October 1407. After accompanying the treasure fleet during the return journey, the foreign envoys (from Calicut, Quilon, Semudera, Aru, Malacca, and other unspecified nations) visited the Ming court to pay homage and present tribute with their local products. The Yongle Emperor ordered the Ministry of Rites, whose duties included the protocol concerning foreign ambassadors, to prepare gifts for the foreign kings who had sent envoys to the court.