The collapse of the Tang at the beginning of the 10th century leads to a period of division and conflict and creates opportunities for the rise of non-Chinese powers along the northern frontier.