Köke Temür was a Mongol general of the Yuan dynasty. Before he was given the Mongolian name by the Yuan court in the early 1360s, he was known by his Chinese name as Wang Baobao.
History
He was born in Henan province. His paternal line originated in Central Asia, probably of recent Bayad Mongol descent, but identified as Han Chinese by the time of his birth. His mother was either of Naiman or Uyghur origin, and the sister of Chaghan Temür. Köke Temür was adopted by his maternal uncle Chaghan Temür, a Turkic pro-Mongol warlord who fought against the Red Turban Rebellion. When his uncle died in war in Shandong in 1362, he succeeded Chaghan Temür's post and corps, and soon demonstrated military talent in battles with the Red Turban Rebels in Shandong. He intensified a feud with Bolad Temür a Datong-based warlord, and entered Taiyuan to confront him. He took the side of Crown PrinceAyushiridara against the faction of Toghun Temur Khan in a factional dispute in Dadu since Bolad Temür supported the anti-crown prince faction. In 1364, Bolad Temür advanced from Datong on Dadu and seized the reins of the central government under the khan. Crown Prince Ayushiridara fled to Taiyuan to seek support from Köke Temür. The Crown Prince struck back with Köke Temür, and Bolad Temür was betrayed when Köke Temür attacked Dadu in 1365. He reinstated the Crown Prince, and was appointed as vice minister of the Secretariat and the king ofHenanin return. However, this conflict helped Zhu Yuanzhang's rise to power in southern China. Köke Temür commanded the Yuan army against anti-Yuan rebels, but faced betrayal by subordinates including Chinese officers who had followed him since the very early stage. What was worse was that he got alienated from Ayushiridara, who was given political and military controls by Toghun Temür Khan. After two major defeats, he lost Henan and Taiyuan to the rising Ming corps and fled to Gansu. The Yuan dynasty was forced to retreat from China in 1368. In 1370 when Toghun Temur died and Ayushiridara succeeded to the throne, Koke Temur entered the Mongolian Plateau from Gansu and joined the new khan, who was based in Khara Khorum. He undertook the defense of the khan. The Hongwu Emperor invited him seven times and offered bribes. But Koke Temur did not abandon his khagan in his misfortune. The most notable service was an overwhelming desert victory over a Ming army led by Xu Da in 1372. It is said that he killed 20,000 Ming soldiers. But in a further encounter against Xu Da in Gansu, Köke Temür's army was badly mauled by the Chinese and forced to flee across the Gobi desert. Köke Temür's sister was married to prince Zhu Shuang, the second son of the Ming Hongwu Emperor. He advanced southward with the Yuan troops to take China back for the Mongols, and expanded his influence to Shanxi. However, he died in 1375 and was followed by Ayushiridara in 1378. Their deaths radically weakened the Mongol state, extinguishing any hope of recapturing China.