Emperor Wen ruled from 581 CE in the north. Then, to reunite China, he began a massive campaign of conquest in 587 CE with fleets on the great rivers and down the coast in a triple-pronged assault. In 588 CE, he occupied present-day Nanjing in one of the most important campaigns in Chinese history.