 The Yuan dynasty was waning, and the emperor forced enormous teams to build new embankments for the river.The terrible conditions helped fuel rebellions that led to the founding of the Ming dynasty.As a result of the flood, the Yellow River shifted course south of the Shandong peninsula, where it remained for the next five hundred years until floods in the 1850s returned it to its more northerly course.