quality:corruption, structural:scholar_edition
Early life and family

Zheng was born Ma He to a Muslim family of Kunyang, Kunming, Yunnan, then under the rule of the Principality of Liang loyal to the Northern Yuan dynasty. He had an older brother and four sisters. 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 resisting the Ming conquest, while Levathes states that Zheng He's father died at 37, but it is unclear if he was helping the Mongol Army or was just caught in the onslaught of battle. Wenming, the oldest son, buried their father outside Kunming. In his capacity as Admiral, Zheng He had an epitaph engraved in honour of his father, composed by the Minister of Rites Li Zhigang on 1 June 1405, which was Duanwu Festival.