The Tang Dynasty China - AD 628 | History Odyssey

Shang Dynasty Culture
18 followers
63 Video Views·May 5, 2026
The Tang Dynasty China - AD 628 | History Odyssey
Picture the greatest city that has ever existed.
Not in size alone, not just in wealth, but in everything.
Science, law, trade, culture, military power.
A city so large that medieval London
was basically a mid-tier village by comparison.
A city where you could walk through a single market
and bump into Arab merchants, Persian traders,
Byzantine craftsmen, Indian monks, and Korean students,
all in the same afternoon.
This wasn't ancient Rome.
This wasn't Constantinople.
This was Chang'an, the capital of the Tang Dynasty.
And for nearly 300 years,
it was the most powerful civilization
on the face of the earth.
The wreckage Tang inherited.
Let's set the stage, because before Tang
could become the greatest dynasty in Chinese history,
it first had to crawl out of 400 years
of complete and total disaster.
China's first great imperial period, the Han Dynasty,
collapsed back in 220 AD.
And what followed was a nightmare.
Warlords, competing kingdoms, step invasions,
population collapse, basically everything bad
that can happen to a civilization
happening all at once for four centuries.
Then in 581, a man named Yang Jian
pulled off something genuinely impressive.
He reunified China, founded the Sui Dynasty,
became Emperor Wen.
After 300 years of fragmentation,
China was one country again.
The Sui Dynasty looked like it might actually work.
Then his son took over.
Emperor Yang of Sui is one of history's premium examples
of how to inherit something good
and absolutely obliterate it as fast as humanly possible.
He forced an estimated six million peasants
to dig the Grand Canal,
a genuinely useful infrastructure project, yes,
but at a horrific human cost.
Hundreds of thousands died building it.
Then he launched three massive military campaigns
against the Korean kingdom of Goguryeo.
He lost all three.
In the third campaign alone,
he reportedly lost 300,000 soldiers.
He taxed the people into poverty to fund these disasters.
Rebellions broke out everywhere.
By 617, the Sui Dynasty was falling apart
at every single seam.
Enter the Tang and the son who built it.
Into this vacuum stepped a man named Li Yuan.
He was an aristocrat, a military general,
and through his mother's family,
he had distant ties to the Sui royal house itself.
In 617, he raised his forces
and marched on the capital, Chang'an.
He took it.
And in 618, when Emperor Yang was assassinated
by one of his own officials,
because of course he was,
Li Yuan formally declared himself
the first emperor of a brand new dynasty, the Tang.
He took the throne named Gao Su.
But here's the thing,
the actual military genius behind the Tang founding,
that wasn't Li Yuan.
It was his second son, Li Shimin,
who was 18 years old when the rebellion started.
18.
And he was already a better battlefield commander
than most men twice his age.
Over the next decade,
he personally led the campaigns
that crushed Tang's remaining rivals
and fully unified China by 628.
Brilliant, charismatic,
and increasingly aware
that he had done more to build the Tang dynasty
than his older brother, Jiang Cheng,
who as crown prince was technically the heir.
That tension could only go one direction.
In 626, Li Shimin moved first.
At the Xuanwu Gate of the Imperial Palace,
he and his allies ambushed and killed
both his older brother, Jiang Cheng,
and his younger brother, Yuan Ji.
He then walked directly to his father
and calmly informed him of what had just happened.
Gao Su, now with no surviving sons except Li Shimin,
abdicated.
Li Shimin became Emperor Taizong.
For centuries, historians have argued
about how to judge the Xuanwu Gate incident.
Taizong himself apparently felt enough about it
to commission official histories
that softened the account,
but the result was undeniable.
Tang got one of the most capable rulers
in all of Chinese history,
the gold standard of good government.
Taizong ruled from 626 to 649.
In Chinese historical tradition,
this period is called the reign of Zhenguan,
and it is held up as the gold standard of good government,
not just in Tang history, in all of Chinese history.
So what did Taizong actually do?
First, he fixed the law.
The Tang Code was one of the most comprehensive
legal documents in the ancient world.
It covered criminal offenses,
administrative regulations, family law.
It was precise, relatively humane for its time,
and so well-constructed that the Korean,
Japanese, and Vietnamese legal systems
adopted large parts of it directly.
Second, he strengthened
the civil service examination system.
Instead of handing government jobs to aristocrats
purely because of their birth, you test people.
The ones who score highest get the jobs.
Radical?
Kind of.
But it worked, and over time,
it would change Chinese society dramatically.
Third, he crushed the Eastern Turkic Khaganate,
which had been extracting tribute
from northern China for decades.
After the victory, the Turkic tribal leaders
gave Taizong an honorary title, Tian Kehan, Heavenly Khagan,
a Chinese emperor being honored in Turkic tradition.
That tells you something about how far his reach extended.
But the fourth thing,
this is the one that really stands out.
He cultivated honest advisors and actually listened to them.
The most famous was Wei Zheng.
Here's the twist.
Wei Zheng had been a supporter
of Taizong's older brother, Jian Cheng,
the one Taizong killed at the Xuanwu Gate.
Most rulers would have had him executed immediately.
Taizong made him a senior minister,
and then Wei Zheng spent the rest of his life
arguing with the emperor,
criticizing his decisions in open court,
writing direct memoranda pointing out his mistakes,
and Taizong protected him every time
and rewarded him for it.
When Wei Zheng died in 643,
Taizong stood over his coffin
and said something that has been repeated for 1,400 years.
With a bronze mirror, you can fix your appearance.
With history as a mirror, you can understand rise and fall.
With a man as a mirror, you can see your own errors.
Wei Zheng was that mirror for me, and now I've lost him.
A ruler who genuinely wanted to be corrected.
It's so rare that when it happens,
people remember it forever.
Chang'an, the city that broke the scale.
Before we go further, we need to talk about Chang'an
because you genuinely cannot understand the Tang dynasty
without understanding its capital.
Chang'an during the Tang period
was almost certainly the largest
and most cosmopolitan city on the face of the earth.
It covered roughly 84 square kilometers,
laid out in a precise grid of 108 enclosed wards.
Population estimates range from 600,000
to over a million people within the city proper.
Medieval London at this time had maybe 15,000 people.
Paris, 30,000.
Constantinople, the largest city in the Western world,
had around 300,000 to 400,000.
Chang'an was in a completely different category,
but it wasn't just large.
It was diverse in a way that had no parallel anywhere else.
The West Market of Chang'an
was the Western terminus of the Silk Road.
Walk through it and you'd encounter Sogdian merchants
from Central Asia, Persian traders, Arab merchants,
Indian Buddhist monks, Byzantine craftsmen,
and Korean and Japanese students,
all in the same afternoon.
Goods flowing in included glassware from Syria,
spices from Southeast Asia, gemstones from India,
horses from Central Asia.
Goods flowing out included silk, porcelain, tea, and paper.
Religiously, Chang'an was equally open.
Buddhist monasteries, Taoist temples,
Zoroastrian fire temples, Nestorian Christian churches,
early mosques, all functioning openly in the same city.
Central Asian culture was everywhere.
The pipa became one of Tang's defining musical instruments.
Polo, imported from Persia,
became the sport of the aristocracy.
Emperor Xuanzong, who we'll get to shortly,
founded the Pear Garden, a formal imperial academy
for musicians and performers.
Thousands trained there.
Even today, 1,200 years later,
Chinese opera performers refer to their artistic lineage
as coming from the Pear Garden.
The institution is gone.
The name stuck.
Chang'an was not just a capital.
It was a statement about what an empire could be,
the woman who rewrote the rules.
Now, we need to talk about Wu Zetian
because she is one of the most debated figures
in all of Chinese history,
and people have been arguing about her for 1,300 years.
Was she a monster?
Was she a brilliant ruler?
Was she both?
Let's just go through what actually happened
because the facts are enough without any embellishment.
Wu Zetian was born in 624.
At 14, she entered the palace
as one of the concubines of Emperor Taizong.
When Taizong died in 649,
tradition required his concubines to shave their heads
and retire to a Buddhist convent.
Wu Zetian went to the convent,
and then Emperor Gaozong, Taizong's son and successor,
paid a visit to the convent.
He brought her back to the palace as his own consort.
From that point on, her rise was relentless.
By 655, she had outmaneuvered Gaozong's existing empress
and become empress consort.
By 655, she had outmaneuvered Gaozong's existing empress
and become empress consort.
Through the 660s and 670s,
as Gaozong's health seriously declined,
Wu Zetian took on increasingly
direct administrative responsibilities.
Court documents began referring to her and Gaozong jointly
as the two sages.
She was functionally running the empire.
When Gaozong died in 683, she became regent.
She removed one son, replaced him with another,
more pliable one.
Then in 690, she stopped pretending entirely.
Wu Zetian formally declared a new dynasty, the Zhou,
and proclaimed herself its emperor,
not empress consort, not empress regent, emperor.
The title of son of heaven,
which in Chinese political theory could only be held
by a man with the mandate of heaven, she took it.
She was the only woman in Chinese history to ever do this.
As emperor, she expanded
the civil service examination system aggressively,
creating new examination categories
and personally presiding over some of the exams.
Part of her motivation was to undercut
the old aristocratic families who resented her
and replace them with officials
who owed their careers directly to her.
Smart politics, also genuinely good policy.
She patronized temples generously.
The Longmen Grottoes,
one of the great monuments of Tang Buddhist art,
were largely developed under her patronage.
She also maintained a network of informants
and secret police that made it extremely dangerous
to oppose her openly.
In 705, when she was 81 years old and seriously ill,
a group of senior court officials staged a palace coup
and forced her to abdicate.
She died later that year.
So how do we judge her?
Chinese historians writing centuries later,
with every incentive to condemn her,
still acknowledge that she governed effectively.
The Tang state was functional
and militarily competitive during her rule.
The examination system she expanded
outlasted her by a thousand years.
She was ruthless in ways
that would be condemned by any standard.
She was also capable in ways that most rulers,
male or female, never matched.
Both things are true.
That complexity is exactly why
she's still being argued about today.
The Golden Age, and the man who burned it down.
After Wuzetian,
Tang went through a brief period of instability.
Then Emperor Xuanzong came to the throne in 712
and reigned for 44 years.
The first half of his reign,
the Caoyuan era, roughly 713 to 741,
is considered the absolute high point of Tang civilization.
The population reached an estimated
50 to 53 million people.
Tax revenues were the highest in Tang history.
Grain reserves were full.
The military was strong.
The Silk Road trade was at its most active.
China under Xuanzong was,
by almost any measurable standard,
the most powerful and prosperous state on earth.
And then there was the culture.
Li Bai and Du Fu,
the two men most people would name
if you asked for China's greatest poets,
were both writing during Xuanzong's reign.
Li Bai was the wandering Taoist romantic,
supposedly composing poetry drunk on moonlit rivers,
celebrating wine and freedom,
and the wildness of nature.
Du Fu was the other side of the coin,
a man who watched the empire's struggles
with clear, compassionate eyes
and wrote about war, poverty, and political failure
with an honesty that was almost radical for its time.
These two men knew each other.
They met.
They drank together.
In the history of literature,
that meeting is a little like
if Shakespeare had hung out with Dante.
Then around 740, things began to change.
Xuanzong became intensely infatuated
with a young woman named Yang Yuhuan,
known to history as Yang Guifei,
precious consort Yang.
She had originally been the consort
of one of Xuanzong's own sons.
Xuanzong had her entered into a religious order
as a legal fig leaf,
then took her as his own imperial consort.
Her family rose rapidly.
Her cousin, Yang Guizhong,
was appointed chief minister in 752.
He was not up to the job.
Competent officials were pushed aside.
The court became focused on luxury and factional maneuvering
and out on the frontiers, something else was building.
The Tang government had increasingly relied
on semi-autonomous military governors,
the jiedushi, to manage frontier defense.
These governors controlled their own armies,
their own taxes, their own appointments.
By the 750s, they commanded forces
that dwarfed what the central government
could feel directly.
One of these governors, a man named An Lushan,
commanded three frontier armies simultaneously.
He was born on the frontier, tough, multilingual,
and reportedly enormously fat,
which apparently did nothing to diminish his effectiveness
as a soldier or his talent
for political maneuvering at court.
He had charmed Xuanzong to an almost absurd degree.
He'd even been ceremonially adopted by Yang Guifei
as a joke, an adult man,
adopted as a son by the imperial consort.
He played the fool at court
while building one of the largest private armies
in the empire.
On December 16th, 755, An Lushan marched south
from his base at Fanyang with roughly 160,000 troops.
The Tang was caught completely off guard.
The central government's own military forces had atrophied.
The wealth of the Kaiyuan era
had made conscription unpopular.
There was almost nothing standing
between An Lushan and the capitals.
Luoyang, the eastern capital,
fell in January 756.
Chang'an fell in July.
Xuanzong, now 71 years old,
fled the capital in the middle of the night
with a small escort.
They headed southwest towards Sichuan,
and then at a relay station called Mawei,
everything fell apart.
The imperial guard mutinied.
They killed Yang Guizhong, the chief minister,
blaming him for the catastrophe.
Then the officers approached Xuanzong with a demand.
Yang Guifei had to die.
The logic, brutal as it was,
made a kind of sense to the soldiers.
Yang Guizhong was her cousin.
The Yang family's political influence
had contributed to the mismanagement
that let this disaster happen.
The soldiers would not move until she was dead.
Xuanzong tried to argue.
The accounts say he wept.
He was 71 years old,
standing in a relay station on the side of a road
with his empire collapsing around him,
and his guards were telling him to give the order.
He gave it.
Yang Guifei was led to a pear tree in a courtyard
beside the station and strangled.
She was around 38 years old.
Xuanzong never saw Chang'an again,
the rebellion that broke the dynasty's spine.
The An Lushan Rebellion lasted from 755 to 763,
eight years of war that tore the Tang dynasty apart.
A census taken in 754 before the rebellion
recorded a registered population
of roughly 52 million people.
The census of 764, taken after it ended,
showed only about 17 million registered.
Even accounting for displacement
and administrative collapse,
historians estimate total deaths from battle,
famine, disease, and displacement
in the range of 13 to 36 million people.
The An Lushan Rebellion
is one of the deadliest conflicts in human history.
It just doesn't get talked about in the West
the way it deserves to.
Tang survived, but what came out the other side
was a fundamentally different dynasty.
The central government's authority over the provinces
was permanently weakened.
The Jiadushi had proved they could field armies
that made the court irrelevant.
Many of them simply stayed in their territories
as autonomous rulers, paying nominal tribute
and nothing more.
The dynasty had survived, its real power had not.
The slow collapse, eunuchs, factions,
and an empty treasury.
What followed was a century and a half
of slow institutional decay on three fronts simultaneously.
First, the palace eunuchs.
By the early 800s, Tang's eunuchs
had accumulated institutional power at an alarming rate.
They controlled the imperial guard armies.
They controlled access to the emperor,
which meant effectively they controlled who was emperor.
Multiple rulers in the 800s were placed on the throne
by eunuch factions and removed or quietly killed
when they became inconvenient.
Emperor Wenzong recognized this and tried to fight back.
He conspired with court officials
to purge the eunuchs in 835
in an episode called the Sweet Dew Incident,
a plan to lure the eunuchs into an ambush
under the pretense of a miraculous dew fall
in the palace gardens.
It failed catastrophically.
The eunuchs discovered the plot,
seized control of the palace, killed the conspirators
along with roughly 1,000 people connected to them,
and then forced Emperor Wenzong to watch.
He reportedly said afterward that he had more freedom
as a prisoner of his own court
than any of his predecessors had experienced.
He died five years later.
The eunuchs selected his successor.
Second, the bureaucracy tore itself apart.
For roughly 40 years, the Tang court was paralyzed
by a bitter factional split between two groups of officials.
Those who had risen through the civil service examinations
and those from traditional aristocratic backgrounds.
Named after their leading figures,
Niu Sengru and Li Deyu,
this conflict consumed the government's attention
and energy for four decades.
When one side was in power, they purged the other.
Actual governing was an afterthought.
Third, the money ran out.
The autonomous northern governors
weren't sending full tax receipts.
Agricultural production had never fully recovered
from the An Lushan Rebellion.
And the government's salt monopoly,
a main revenue source, was being eaten alive
by massive black market smuggling networks
the government couldn't suppress.
Huang Chao and the end of Chang'an.
One of the leaders of those smuggling networks
was a man named Huang Chao.
He came from a salt merchant family in Shandong province.
He was educated enough to sit for the imperial examinations.
He failed them multiple times.
What's recorded is that by the 870s,
he was running large-scale smuggling operations
and had built up a private army.
In 874, a drought and famine
destabilized much of northern China,
and Huang Chao joined a peasant uprising
already in progress.
When its leader died in battle in 878,
Huang Chao took command.
What followed was one of the most dramatic marches
in medieval history.
Huang Chao led his army across the entire length of China,
south to Guangzhou on the coast,
then north again across the Yangtze,
then west toward the capitals.
Tang's defenses crumbled before him.
In 881, he captured Chang'an
and declared himself emperor of a new dynasty.
Chang'an, the city that had been
the wonder of the world for three centuries,
the city with a million people,
the western terminus of the Silk Road.
Huang Chao's forces committed horrific atrocities.
Contemporary sources describe mass killings in Guangzhou
that killed tens of thousands,
including large numbers of the Arab, Persian,
and Jewish merchants who had been part of the city's
extraordinary international community for generations.
That international world never came back.
Tang forces, bolstered by Shatuo Turkic cavalry
under a commander named Li Qiang, counterattacked.
By 883, Huang Chao had been driven from Chang'an.
He was finally defeated and killed in 884
by his own nephew who defected for the reward money.
Chang'an never recovered.
The greatest city on earth was gutted
and would never again reach its Tang peak.
The Last Betrayal.
The Tang dynasty that limped out of the Huang Chao rebellion
was barely a dynasty at all.
Real power now sat with a handful of competing warlords.
The most dangerous of them, a man named Zhu Wen,
had actually started out fighting for Huang Chao.
In 882, seeing which way things were going,
Zhu Wen defected to the Tang side
and was rewarded with military appointments.
Over the following two decades,
he used those appointments to eliminate his rivals
one by one until he was simply the strongest man in China.
In 903, Zhu Wen rounded up over 300 palace eunuchs
in a single night and had them all killed.
With them gone,
nothing stood between him and complete control.
In 904, Zhu Wen had Emperor Xiaozong murdered
and replaced with his 13-year-old son as Emperor Ai,
a child emperor with no real power,
no real court, and no real future.
In 907, Zhu Wen forced Emperor Ai to formally abdicate.
The Tang dynasty's 289-year reign was over.
Zhu Wen declared his own dynasty, the Later Liang.
Emperor Ai was sent to live under house arrest.
In 908, at the age of 17, Zhu Wen had him poisoned.
The dynasty that had begun with Li Shimin
killing his brothers at the Xuanwu Gate
ended with a boy emperor being poisoned
by the man who had taken everything from him.
What Tang left behind.
What followed Tang was called
the Five Dynasties and Ten Kingdoms period,
53 years of fragmentation and competing warlord states.
Reunification eventually came in 960
when the Song dynasty pulled things back together.
But that's a story for another video.
So after all of it, the founding, the Golden Age,
the rebellion, the slow collapse,
what did Tang actually leave behind?
More than almost any dynasty in Chinese history,
Japan sent multiple large embassy missions to Tang China
to study its government, law, art, and religion.
The result was the Nara period,
essentially an attempt to rebuild
a version of Tang on Japanese soil.
Nara city was modeled on Chang'an's grid layout.
Japanese governmental structure was reorganized
along Tang bureaucratic lines.
Buddhism, as practiced in Tang,
became the dominant form in Japan.
The Tang Code became the template
for legal systems across East Asia.
Japan's Taiho Code drew directly from it.
Vietnam's legal traditions were shaped by it.
Korea's legal development was influenced by it.
In terms of legal legacy,
few ancient documents touched as many societies.
The Tang period established classical Chinese poetry
as a mature art form with a defined canon.
Li Bai, Du Fu, Wang Wei, Bai Juyi.
These poets are still memorized in Chinese schools today.
The examination system Tang strengthened
required candidates to compose poetry,
which meant that for 1,000 years after Tang,
every Chinese official had to be literate,
not just in prose, but in verse.
The Tang poets set the standard
everyone was measured against.
Block printing, the process of carving text
into wooden blocks and printing multiple copies,
was developed and commercialized during the Tang period.
The world's oldest known printed book,
the Diamond Sutra, was printed in 868 AD.
Printing made books cheaper.
Cheaper books spread literacy.
This was the first step in a chain
that would eventually lead to Gutenberg
and the information revolutions of the modern world.
And then there's the name.
In Chinese communities across the world,
Southeast Asia, North America, Europe, Australia,
the word that millions of overseas Chinese
used to identify themselves is Tangren.
Tang people, not Han people,
not Chinese people in a general sense.
Tang people.
A dynasty that ended in 907 is still embedded
in how people describe who they are today.
Chinatowns in cities around the world
are called Tangrenjie,
streets of the Tang people in Chinese.
That's what a dynasty looks like
when it gets everything right,
even when it eventually falls apart
through eunuchs and warlords and salt smugglers
and rebellions and a thousand slow cuts.
It leaves a name that outlasts it by over a thousand years.
The Tang dynasty, 289 years.
One female emperor, the greatest city on earth,
poetry that still lives,
a legal code that shaped five nations
and a name that a billion people still carry.
Not bad for a dynasty that started
with a guy killing his brothers at a palace gate.
If you made it to the end of this video,
you now know the full arc
of one of the most important civilizations
in human history.
Hit like if this was worth your time.
Subscribe so you don't miss what's coming next
and drop a comment telling me which dynasty
or historical moment you want covered next.
The Han, the Mongols, the fall of Rome.
Tell me below.
I'll see you next time on History Odyssey.
