Zheng He (; 1371–1433 or 1435) was a Chinese mariner, explorer, diplomat, fleet admiral, and court eunuch during China's early Ming dynasty. He was originally born as Ma He in a Muslim family and later adopted the surname Zheng conferred by the Yongle Emperor. Commissioned by the Yongle Emperor and later the Xuande Emperor, Zheng commanded seven expeditionary treasure voyages to Southeast Asia, South Asia, West Asia, and East Africa from 1405 to 1433. According to legend, his larger ships carried hundreds of sailors on four decks and were almost twice as long as any wooden ship ever recorded. As a favorite of the Yongle Emperor, whom Zheng assisted in the overthrow of the Jianwen Emperor, he rose to the top of the imperial hierarchy and served as commander of the southern capital Nanjing. Early life and family Zheng He was born Ma He () to a Muslim family of Kunyang, Kunming, Yunnan, during the Ming dynasty of China. He had an older brother and four sisters. Zheng He's religious beliefs were eclectic in his adulthood. The Liujiagang and Changle inscriptions suggest that devotion to Tianfei, the patron goddess of sailors and seafarers, was the dominant faith to which he adhered, reflecting the goddess's central role to the treasure fleet. John Guy mentions, "When Zheng He, the Muslim eunuch leader of the great expeditions to the 'Western Ocean' (Indian Ocean) in the early fifteenth century, embarked on his voyages, it was from the Divine Woman that he sought protection, as well as at the tombs of the Muslim saints on Lingshan Hill, above the city of Quanzhou." Zheng He was a great-great-great-grandson of Sayyid Ajjal Shams al-Din Omar, who served in the administration of the Mongol Empire and was the governor of Yunnan during the early Yuan dynasty. His great-grandfather Bayan may have been stationed at a Mongol garrison in Yunnan. Zheng He's grandfather carried the title hajji, and his father had the sinicized surname Ma and the title hajji, which suggests that they had made the pilgrimage to Mecca. In the autumn of 1381, a Ming army invaded and conquered Yunnan, which was then ruled by the Mongol prince Basalawarmi, Prince of Liang. In 1381, Ma Hajji, Zheng He's father, died in the fighting between the Ming armies and Mongol forces. Dreyer states that Zheng He's father died at 39 while he resisted the Ming conquest, while Levathes states