When did the Tang dynasty begin?
618 AD
The Tang dynasty began in 618, when Li Yuan established a new imperial ruling house in China. Known as Emperor Gaozu, he founded the dynasty amid the collapse of Sui authority. The change was a transfer of power after rebellion and disorder, rather than the creation of Chinese imperial government from nothing.
The Tang capital, Chang'an, stood at present-day Xi'an and became a major centre of government, trade and cultural exchange. Connections across Inner Asia brought travellers, goods and ideas into the empire. The period is also associated with celebrated poetry and an influential court culture, while institutions for recruiting officials continued to shape the administration. These developments unfolded over generations after the founding year.
Tang history was not uniformly stable or uninterrupted. Wu Zetian briefly replaced the dynasty with her own Zhou, and later rebellions and regional military power weakened central rule. The dynasty finally ended in 907. Those later turning points matter when describing the whole period, but they do not alter the initial establishment in 618. The founding milestone belongs to Li Yuan's seizure of imperial authority, before the political and cultural achievements usually associated with Tang rule.