Ma He was taken as a prisoner by the Ming armies. He was about 10 years old. He was castrated and then taken away to serve the Prince, Zhu Di (the future emperor). Ma He became a servant at the Imperial Court. The name Zheng He was given to him by the Prince. He also came to be called "Sanbao", a reference to the Three Jewels of Buddhism.