As Yuan Mongol rule collapsed, eight rival contenders for power grew powerful enough to challenge for the throne of China. For seventeen years, there would be civil war. At root these were essentially class wars, eyewitnesses speaking of a consistent thread of the peasants waging war against the rich and powerful.