Started from 581 and ended in 618, the Sui Dynasty lasted for only 38 years and had only three emperors.
At the end of the Northern and Southern Dynasties (386 - 589), the whole nation had undergone a long period of division. People who had endured sufferings of war were longing for the unification but neither the Northern Dynasties nor Southern Dynasties realized this goal.
In Northern Zhou Dynasty (557 - 581), Yang Jian, who was born to the noble class and was the Chengxiang (Prime Minister) of the last emperor, monopolized the political and military power and suppressed the separatist forces as well as some other royal forces. In 581, Yang Jian replaced Northern Zhou with Sui and proclaimed himself Emperor Wen. Thus the Sui Dynasty was founded, with Chang´an (currently Xian) the capital and Luoyang the auxiliary capital. In 589, the Sui Court defeated the last of the Southern Dynasties, Chen, and unified the whole nation.
The decline of the Sui Dynasty started from the second monarch, Emperor Yang, who was a typical tyrant. His reputation was that of a son who lacked respect for his parents, committed patricide and usurped the throne.
Emperor Yang led a luxurious and corrupt life. Upon gaining the throne, he employed two million laborers to build the second capital city of Luoyang and was even reputed to have cruised along the river in a large dragon ship, with thousands of ships following in attendance.

map of Sui Dynasty