Complex sentence: Zhang Wuji gave up an opportunity to become the emperor, as the Ming Cult eventually overthrew the Yuan dynasty, and ideally, Zhang would become the new sovereign, but instead, Zhu Yuanzhang takes the throne and founds the Ming dynasty.
Split into simpler sentences: Zhang Wuji gave up an opportunity to become a ruler because the Ming Cult eventually overthrew the Yuan dynasty. Ideally, Zhang would have become the new emperor, but instead, Zhu Yuanzhang takes the throne and founds the Ming dynasty.