Answer:
In 581 C.E., the short-lived Sui dynasty emerged to unify the Northern and Southern territories before being overthrown by the Tang dynasty in 618 C.E. The Tang dynasty enjoyed significant stability and is often described as the greatest of the dynasties.