Middle Ages821–822
Tang-Tibet Treaty of 821-822 and the Lhasa Treaty Pillar
The Tang-Tibet Treaty of 821–822 ended decades of war between Tang China and the Tibetan Empire and was carved on a bilingual stone pillar still in Lhasa.

Contents
The Tang-Tibet Treaty of 821–822 was a peace agreement between China’s Tang dynasty and the Tibetan Empire, sworn first in Chang’an and then in Tibet. It ended more than a century of intermittent war, fixed a common frontier and treated the two rulers as equals. Its text survives on a bilingual stone pillar erected in 823 in front of the Jokhang Temple in Lhasa, one of the most important inscriptions of early Tibet.
Background: two empires at war
In the seventh century the Tibetan kings united the Tibetan plateau and built an empire that competed with Tang China for Central Asia. Diplomatic marriages, such as that of Princess Wencheng in 641 and Princess Jincheng in 710, created a family link between the two courts but did not end the fighting.
The An Lushan Rebellion of 755–763 drew Tang troops away from the frontiers. Tibet seized the Hexi Corridor and much of the north-west, and in 763 its army briefly occupied the Tang capital, Chang’an. By the 780s Tibet controlled the oasis cities along the Silk Road, including Dunhuang.
Earlier attempts at peace failed. A treaty agreed at Qingshui in 783 was followed by the ambush of Tang envoys at Pingliang in 787. By the 810s, however, both empires were exhausted by decades of war, and Tibet also faced the Uyghurs to the north.
The treaty
The new peace was negotiated under the Tibetan emperor Tritsuk Detsen, remembered as Ralpachen (reigned 815–838), a patron of Buddhism, and the Tang emperor Muzong (reigned 820–824). It was sworn in a ceremony in the western suburbs of Chang’an in the tenth month of 821, with Tibetan envoys present.
The following year the Tang envoy Liu Yuanding travelled to Tibet, where the treaty was sworn again in the fifth month of 822 before the Tibetan court. His report of the journey and ceremony was preserved in the official Tang histories.
The treaty set out a border between the two states, said that each people should live in peace in its own land, and promised that neither side would attack or raid the other. Border posts were defined where envoys would change horses, and messengers would be received and supplied. The two emperors were described as “uncle and nephew”, a reminder of the earlier marriage alliances. Oaths were sworn with Buddhist and traditional rites, and the names of the officials who took part were recorded.
The Lhasa pillar
The treaty specified that the text should be carved on stone pillars. According to the inscription and Chinese records, pillars were to stand at both capitals and at the frontier, but only the one in Lhasa is known to survive. Erected in 823, it stands inside a walled enclosure in front of the Jokhang, Tibet’s most revered temple, near the stump of an old willow tree that local tradition links with Princess Wencheng.
The pillar carries text on all four sides. The west face gives the treaty in parallel Tibetan and Chinese, the east face has a Tibetan account of relations between the two states, and the narrow sides list the officials of both governments who swore the oath, in both languages. The inscription has been studied by scholars such as Hugh Richardson and Li Fang-kuei, though weathering and damage have made parts hard to read.
Key people
- Tritsuk Detsen (Ralpachen) (died 838): Tibetan emperor under whom the treaty was made, a strong supporter of Buddhism.
- Emperor Muzong (795–824): Tang ruler who sanctioned the treaty.
- Liu Yuanding: Tang envoy who attended the 822 ceremony in Tibet and recorded it.
- Monk-ministers of Tibet: Buddhist clergy held high office at Ralpachen’s court and appear prominently among the signatories.
Consequences
The treaty brought a lasting peace between the two empires. Tibet kept most of the territories it had taken in the north-west, while the Tang gained security on its western frontier at a time of internal difficulty.
The peace outlasted the Tibetan Empire itself. Ralpachen died in 838, and after the death of his successor Langdarma in 842 the empire split into rival factions. In 848 the local leader Zhang Yichao expelled the Tibetan garrison from Dunhuang, and over the next few years the Hexi region returned to Tang allegiance.
Interpretation
The treaty is sometimes cited in modern debates over the historical status of Tibet. As a historical document it shows two independent empires agreeing terms as equals, using the language of kinship. It does not by itself settle later political questions, which concern events many centuries afterwards.
Timeline
- 641: Princess Wencheng travels to Tibet to join the court of Songtsen Gampo.
- 763: Tibetan forces briefly occupy Chang’an.
- 783: Treaty of Qingshui.
- 787: Ambush of Tang envoys at Pingliang.
- 821, 10th month: The treaty is sworn in Chang’an.
- 822, 5th month: The treaty is sworn in Tibet in the presence of Liu Yuanding.
- 823: The treaty pillar is erected in Lhasa.
- 842: Death of Langdarma; the Tibetan Empire begins to fragment.
- 848: Zhang Yichao expels the Tibetans from Dunhuang.
Why it matters
The Tang-Tibet Treaty is one of the few surviving international agreements from early medieval Asia whose original text still stands where it was set up. It records how two great powers ended a long war on equal terms, and it remains a key source for Tibetan history, language and diplomacy.
Frequently asked questions
What was the Tang-Tibet Treaty of 821–822?
It was a peace treaty between Tang China and the Tibetan Empire, sworn first in Chang'an in 821 and then in Tibet in 822. It fixed the border between the two states and ended a long period of warfare.
Where is the treaty pillar?
The surviving pillar stands in a walled enclosure in front of the Jokhang Temple in Lhasa. It was erected in 823 and carries the treaty in Tibetan and Chinese, though parts of the text are worn.
Who made the treaty?
On the Tibetan side it was made under the emperor Tritsuk Detsen, also known as Ralpachen, and on the Chinese side under Emperor Muzong of Tang. Senior ministers of both states, including Buddhist monk-officials on the Tibetan side, swore to it.
What does 'uncle and nephew' mean in the treaty?
The treaty describes the Tang emperor and the Tibetan emperor as uncle and nephew. This recalled earlier marriages of Tang princesses to Tibetan rulers and expressed family ties between equals rather than the submission of one state to the other.
How long did the peace last?
The treaty largely held for the rest of the Tibetan Empire's existence. After the death of the emperor Langdarma in 842 Tibet fell into civil war, and in the following years local leaders in the Hexi region returned it to Tang allegiance.
Sources and further reading
- Richardson, Hugh E., A Corpus of Early Tibetan Inscriptions (1985)
- Li Fang-kuei, "The Inscription of the Sino-Tibetan Treaty of 821–822", T'oung Pao 44 (1956)
- Beckwith, Christopher I., The Tibetan Empire in Central Asia (1987)
- Kapstein, Matthew T., The Tibetans (2006)
Cite this article
“Tang-Tibet Treaty of 821-822 and the Lhasa Treaty Pillar.” Chronicle, https://chronicle.bigworldlist.com/articles/tang-tibet-treaty-821/.