Realm Central Asia & Steppe 324–377 CE

Former Liang

Han Chinese refuge state on the Hexi Corridor, nominally loyal to the Jin court, that bled itself dry in succession wars before Former Qin absorbed it in 376.

Built from 6 cited sources, 8 rulers, 8 turning points and 4 cities.

Open on the globe
Former LiangLanzhou
324–377 CE · peak 375 CE

Zhang Gui, a Han Chinese official of the Western Jin who claimed descent from the Changshan king Zhang Er, was appointed inspector of Liang province in 301 and built his base at Guzang, in modern Wuwei, Gansu. Guzang sat on the Hexi Corridor, the narrow gap between the Qilian mountains and the Gobi that funneled caravans between the Chinese heartland and Central Asia. Its territory eventually stretched across present-day Gansu and parts of Ningxia, Shaanxi, Qinghai and Xinjiang, with Zhangye, Lanzhou, Dunhuang and Tianshui inside the mapped footprint.

The Former Liang ran a monarchy whose rulers held Jin titles and kept the Jin calendar, but Zhang Shi refused to adopt Sima Rui's new Eastern Jin reign era in 318 and continued using the Western Jin reign Jianxing within his territory, a practice most successors followed. Zhang Mao accepted the title of King of Liang and the nine bestowments from the Former Zhao in 323 while keeping his Jin title of Duke of Xiping internally. Zhang Jun's forces crossed the sands in 335 and pressed oasis states such as Kucha into submission, and his state minted Chinese cash and built five palaces south of Guzang. Because the house recognized Jin overlordship, literati fleeing the collapsing north gathered there rather than at the Jin court in the south, which made the state a cultural center of North China.

Zhang Gui's administration promoted agriculture and opened new schools, and the region attracted refugees from the war-torn heartland. The Han Chinese ruling house governed a mixed frontier population of settled farmers, oasis traders and pastoral peoples whose languages, including the Mongolic, Tangut and Turkic tongues mapped nearby, appear in regional records. Buddhist monks also worked this corridor: the Mogao Caves near Dunhuang are widely believed to have been started by the monk Le Zun in 366, even as the Liang court tolerated a dynasty whose sanctioned Confucian officials kept the government running.

Succession purges and regencies drained the state from within. Zhang Chonghua's death in 353 left a ten-year-old heir, Zhang Yaoling, who was deposed by his regent Zhang Zuo; Zhang Zuo declared himself emperor or king in 354, the only Liang ruler to reject Jin suzerainty outright, and was overthrown in 355 by Zhang Guan, who was later killed by Song Hun. Pro-Jin rebellions in 356 cost Liang all its territory south of the Yellow River, and Former Qin pressure forced vassal submission. Zhang Tianxi formally adopted Eastern Jin reign eras and sought a joint campaign against Qin from the Jin commander Huan Wen, who ignored him. Former Qin invaded in 376, Tianxi surrendered, and the state ended on 26 September 376.

Former Liang served as a refuge for literati fleeing the collapse of Western Jin in the heartland, turning Guzang into a cultural center of North China. The influx of scholars and officials gave the frontier state a level of literary and administrative sophistication unusual for a border march.

Rulers

Wars & turning points

Rulers & characters

  • Zhang Gui r. 301–314 CE [3]
    Inspector of Liang Province, founder of the Zhang family's regional power · Zhang

    A Han Chinese Western Jin official appointed inspector in 301, he made Guzang his base, promoted agriculture, established schools, and never declared independence, remaining a Jin official until his death in 314.

    He claimed descent from Zhang Er, King of Changshan during the Chu-Han Contention.

  • Zhang Shi r. 314–320 CE [3]
    Duke/Prince of Liang, de facto founder · Zhang

    He established Guzang as capital in 317, urged Sima Rui to take the throne after Emperor Min's capture, and refused to adopt the Eastern Jin reign era, keeping Emperor Min's Jianxing era instead.

  • Zhang Mao r. 320–324 CE [3]
    Duke/Prince of Liang · Zhang

    Zhang Shi's brother who took power after the assassination, he came into conflict with Former Zhao and in 323 submitted to them, receiving the title King of Liang and the nine bestowments while internally retaining his Jin title Duke of Xiping.

    He accepted the nine bestowments, a honorific package normally reserved for imperial favorites.

  • Zhang Jun r. 324–346 CE [3]
    Duke/Prince of Liang, ruler at territorial peak · Zhang

    Zhang Mao's successor who brought Former Liang to its peak, he expanded into the Western Regions, forced oasis states like Kucha to submit, established ties with Cheng-Han, adopted imperial ranks and trappings, built five palaces south of Guzang, and proclaimed himself Acting Prince of Liang in 345.

    He imitated the emperor's flag, trappings, and carriage roughly twenty-one years into his reign.

  • Zhang Chonghua r. 346–353 CE [3]
    Duke/Prince of Liang · Zhang

    Zhang Jun's son who succeeded him in 346, he repelled a Later Zhao invasion through general Xie Ai but lost territory south of the Yellow River, and his death in 353 left a ten-year-old heir, triggering internal turmoil.

    He left behind his ten-year-old son Zhang Yaoling when he died in 353.

    Follow Xie Ai Former Qin
  • Zhang Zuo r. 353–355 CE [3]
    Duke/Prince, then self-proclaimed emperor of Liang · Zhang

    Zhang Chonghua's uncle and regent who deposed his ten-year-old nephew Zhang Yaoling, he became the only Former Liang ruler to fully reject Jin suzerainty by declaring himself emperor in 354, before being overthrown in 355 by Zhang Guan.

    He was the only Former Liang ruler to formally reject Eastern Jin suzerainty.

  • Zhang Xuanjing r. 355–363 CE [3]
    Duke/Prince of Liang, child ruler under regents · Zhang

    Zhang Chonghua's five-year-old son installed by Zhang Guan in 355, he reigned under the Song clan regents Song Hun and Song Cheng, who discarded Zhang Zuo's imperial title and restored Eastern Jin suzerainty in 361.

    He was five years old when installed on the throne.

  • Zhang Tianxi r. 363–376 CE [3]
    Duke/Prince of Liang, last ruler · Zhang

    The last ruler who discarded the Jianxing reign era and adopted Eastern Jin eras, fully recognizing Jin sovereignty, he sought Huan Wen's help against Former Qin but was ignored, and surrendered to Former Qin's invasion in 376, ending the state.

    After the Battle of Fei River in 383, he escaped to Eastern Jin and became a Jin official, dying in 406.

Wars, rebellions & turning points

  1. Shock Eastern Jin founded in exile [3]
    Western Jin remnants vs. Han Zhao/Former Zhao

    After Emperor Min of Jin was captured and executed, Sima Rui took the throne at Jiankang in the south, establishing Eastern Jin; Former Liang's Zhang Shi endorsed him but refused to adopt the new reign era, keeping Jianxing instead.

    Outcome: Former Liang became a nominal vassal of a southern court it barely recognized, preserving its own era name as a mark of autonomy.

  2. Treaty Submission to Former Zhao [3]
    Former Liang vs. Former Zhao

    Zhang Mao came into conflict with the westward-expanding Former Zhao and submitted, receiving the title King of Liang and the nine bestowments while internally retaining his Jin title Duke of Xiping.

    Outcome: Former Liang gained a royal title from a non-Jin power while maintaining dual loyalty to the Jin court.

  3. Shock Later Zhao conquers Former Zhao [3]
    Later Zhao vs. Former Zhao

    Later Zhao's conquest of Former Zhao removed the buffer power to Former Liang's east, after which Zhang Jun initially rejected Later Zhao's authority before being pressured into submission.

    Outcome: Former Liang faced a more direct and powerful northern neighbor, shifting its vassalage from Former Zhao to Later Zhao.

    Follow Former Zhao
  4. War Western Regions expansion [3]
    Former Liang vs. Western Regions oasis states

    Zhang Jun's forces marched across the sands and forced several oasis states in the Western Regions, including Kucha, to submit to Former Liang authority.

    Outcome: Former Liang reached its greatest territorial extent, encompassing much of modern Gansu and Xinjiang and portions of Qinghai and Ningxia.

  5. War Later Zhao invasion repelled [3]
    Former Liang vs. Later Zhao

    Shortly after Zhang Chonghua ascended, Later Zhao invaded Former Liang; the Liang general Xie Ai repelled the invaders, though territory south of the Yellow River was still lost.

    Outcome: The state survived the invasion but suffered permanent territorial losses in the south.

  6. Shock Rejection of Jin suzerainty [3]
    Former Liang vs. Eastern Jin

    Zhang Zuo deposed his nephew Zhang Yaoling and declared himself emperor, the only Former Liang ruler to fully reject Eastern Jin's suzerainty.

    Outcome: The break with Jin was short-lived; Zhang Guan overthrew Zuo the following year and installed a child ruler.

  7. Rebellion Pro-Jin rebellions [3]
    Former Liang internal rebels vs. Zhang Zuo/Zhang Xuanjing faction

    Several pro-Eastern Jin rebellions broke out within Former Liang, reflecting the state's deep internal divisions and weakened authority.

    Outcome: The rebellions coincided with the loss of all remaining territory south of the Yellow River.

  8. Treaty Restoration of Jin suzerainty [3]
    Former Liang vs. Eastern Jin

    Under regents Song Hun and Song Cheng, Former Liang discarded Zhang Zuo's imperial title and formally accepted Eastern Jin suzerainty, returning to nominal vassal status.

    Outcome: The state realigned with the southern court just as Former Qin rose as a new threat on its eastern flank.

Achievements & reckoning

Achievements

  • Guzang established as capital [3]

    Zhang Shi established Guzang (modern Wuwei, Gansu) as the capital in 317, making it the administrative center of a frontier state that sheltered refugees fleeing the collapse of Western Jin in the heartland.

  • Agriculture and schools promoted [3]

    Zhang Gui developed the region by promoting agriculture and establishing new schools, creating the stability that made Former Liang a refuge for those fleeing the chaos of the heartland.

  • Western Regions expansion [3]

    In 335, Zhang Jun's forces marched across the sands and forced oasis states in the Western Regions like Kucha to submit, extending Former Liang's reach into modern Xinjiang and portions of Qinghai and Ningxia.

  • Imperial court ranks adopted [3]

    About twenty-one years into his reign, Zhang Jun began using the ranks and titles of the imperial court and imitating the emperor's flag, trappings, and carriage, proclaiming himself Acting Prince of Liang in 345 while still recognizing Jin as overlord.

Reckoning

  • Territory south of Yellow River lost [3]

    After repelling the Later Zhao invasion, Former Liang still lost all territory south of the Yellow River, and later pro-Jin rebellions in 356 coincided with the loss of all remaining southern territory.

    Follow Yellow River
  • Succession purges and usurpations [3]

    Zhang Chonghua's death in 353 left a ten-year-old heir, triggering a period of turmoil in which Zhang Zuo deposed his nephew, declared himself emperor, was overthrown by Zhang Guan, and the Song clan regents were assassinated amid factional violence.

  • Vassalage to multiple powers [3]

    Former Liang remained a vassal of Eastern Jin, Han Zhao, Later Zhao, and finally Former Qin at different times, with rulers forced to accept foreign titles and submit to stronger neighbors rather than pursue independent foreign policy.

  • Conquest and absorption by Former Qin [3]

    Former Qin invaded in 376 and Zhang Tianxi surrendered on 26 September 376, ending the state; his son Zhang Dayu's attempt to restore the family state in 386 failed when he was killed by Lü Guang in 387.

Deeper cuts

Religion [3]

Mogao Caves founded

The Mogao Caves near Dunhuang are widely believed to have been first constructed by the Buddhist monk Le Zun in 366, during the later years of Former Liang. These early Buddhist grottoes would become one of the most important repositories of Buddhist art and manuscripts along the Silk Road, though their construction began amid the political chaos and decline of the Zhang family's state.

Le Zun (樂尊) began the caves in 366 near Dunhuang.

Daily life [3]

Refugee scholars and literati influx

The collapse of Western Jin drove literati to flee to Former Liang rather than to the Jin court-in-exile in the south, making the state a cultural center of North China. These refugees brought books, learning, and administrative experience to Guzang, where Zhang Gui's schools and agricultural promotion created unusual stability on the frontier.

Literati chose Former Liang over the southern Jin court at Jiankang.

Trade [3]

Silk Road corridor control

Former Liang controlled territory around Dunhuang and Zhangye, key nodes on the Silk Road linking China to the Western Regions. Its expansion under Zhang Jun into oasis states like Kucha gave it leverage over trade and tribute routes across the Hexi Corridor into Central Asia.

Cities inside its footprint included Zhangye, Lanzhou, Dunhuang, and Tianshui.

Philosophy [3]

Jianxing era name preserved

Zhang Shi refused to adopt Eastern Jin's reign era after Sima Rui took the throne in 318, continuing to use Emperor Min's Jianxing era within Former Liang. Most successors upheld this practice, using the era name as a political statement of loyalty to the captured Jin emperor rather than to the southern court-in-exile.

Jianxing (建興) era name used continuously within Former Liang territory.

Literature [3]

Chinese language and pinyin transcription

The Former Liang's name is rendered in Chinese as 前涼 and in pinyin as Qián Liáng. Its rulers were Han Chinese of the Zhang family, and the state used Chinese cash coins (Wu Zhu) as currency, reflecting the linguistic and monetary culture of the Central Plains even on the northwestern frontier.

Structural lenses

Drafted by GPT-6 Luna (lens-v1.1) from the cited sources.

Material & archaeology [3]

Five Palaces South of Guzang and the Mogao Grottoes

Zhang Jun built five palaces south of Guzang, an extravagant architectural program that displayed the court’s resources and imperial pretensions. Near Dunhuang, monk Le Zun is widely credited with beginning the Mogao cave complex, marking an early Buddhist imprint on the region’s built landscape.

The first Mogao grottoes are believed to have been constructed around 366.

Thought & mind [3]

Reign-Era Names as a Claim to Jin Legitimacy

Former Liang rulers used court titles and reign-era names to negotiate their standing with the Jin courts. Zhang Shi continued the Jianxing era after Eastern Jin was established, while Zhang Tianxi later adopted Eastern Jin reign eras, explicitly recognizing its sovereignty. Refugee literati from the collapsing Western Jin also gathered in Liang, where Zhang Gui established schools.

Underappreciated & strange truths

Zhang Jun built five palaces south of Guzang as his state's wealth reached its height in the 340s, while the same court kept its Jin reign-era calendar and sent tribute-minded envoys to the Former Zhao overlords it had submitted to in 323.

  • Only ruler to reject Jin [3]

    Zhang Zuo was the only Former Liang ruler to fully reject Eastern Jin's suzerainty, declaring himself emperor in 354, yet his imperial title was discarded by the Song clan regents within a year after they overthrew him.

  • Founder never declared independence [3]

    Zhang Gui, the man whose 301 appointment as inspector marks the state's beginning, never declared independence and remained a Western Jin official until his death in 314, even as his sons built the dynastic state at Guzang.

  • Last ruler died as Jin official [3]

    Zhang Tianxi surrendered to Former Qin in 376, escaped to Eastern Jin after the Battle of Fei River in 383, became a Jin official, was restored to his family's title of Duke of Xiping, and died in 406—thirty years after his state fell.

State ledger

Lifespan
324–377 CE
Peak territory
305,896 km²
Seshat ID
cn_eastern_jin_dyn

Lineage & succession

Before
Western Jin dynasty
Former Liang324–377 CE
After
Former Qin 353–393 CE

Connected world

Succeeded the Western Jin in the northwest and was absorbed by the Former Qin, while its Dunhuang and Hexi Corridor trade and Buddhist grottoes linked it to Central Asian oasis states and the Eastern Jin court in the south.

Drafted by HungerG (links-v2.0) from the cited sources.

  • vassalage Former Zhao → 323 CE [3]

    Zhang Mao submitted to Former Zhao and received the title King of Liang and the nine bestowals, while retaining his Jin title internally.

  • war Later Zhao → 346 CE [3]

    Later Zhao invaded after Zhang Chonghua took power. Xie Ai repelled the attackers, but Former Liang lost its territory south of the Yellow River.

  • vassalage Former Qin → by 376 CE [3]

    Pressure from Former Qin forced Former Liang into vassalage. In 376 Qin invaded, Zhang Tianxi surrendered, and the Liang state ended.

Drafted by Claude Haiku 5.5 (polity-v1.5) from six cited sources · almanac by Nemotron 3.5 Super VL (almanac-v1.2) · deep lenses by GPT-6 Luna (lens-v1.1), and checked that every citation points to one of them. See the evidence How AI is used

XCities & tongues

Mapped cities & trade towns

CityCountryNear peakPeak pop.GrowthGlobe
ZhangyeChina—59k (1948 CE) Locate →
LanzhouChina—2.00M (1975 CE) Locate →
DuhuangChina—32k (100 BCE)Dossier → Locate →
TianshuiChina—85k (1000 CE) Locate →

Languages across the footprint

LanguageFamilyMacroareaHorizon
East YugurMongolic-KhitanEurasiaGlottolog 5.3
TangutSino-TibetanEurasiaGlottolog 5.3
West YugurTurkicEurasiaGlottolog 5.3

XIArchives & dossiers

Dossiers across this ground

XIICulture & letters

From the source

  1. Ruins of Desert Cathay, Vol. 1 Aurel Stein · 1912 CE

    “In one of these dwellings, buried under fully seven or eight feet of drift sand, we came upon a fine double bracket in wood which once supported the ceiling of the main room. It measured nearly nine feet in length with a height of about one and a half feet, and bore on each side well-designed carvings in bold relievo.”

    Stein's excavation of a buried dwelling near a dead oasis shows how domestic architecture in the Khotan region carried Gandharan and Western artistic motifs—composite monsters and Indo-Corinthian-style panels—into everyday homes, evidence of the cultural traffic along the Central Asian routes once controlled by oasis states like the Former Liang.

    Model-drafted synthesis · GLM-5.3 Flash

Primary works, letters & books

No matching primary books indexed for this span yet.

XIIISources & provenance

  1. Cliopatria Historical Polity Borders v0.2.0 (Seshat Databank). CC-BY-4.0.
  2. Wikidata Historical Entities & Lineage Spine. CC0-1.0.
  3. Wikipedia — Former Liang. CC-BY-SA-4.0.
  4. Reba / Chandler Historical Urban Population Estimates (3700 BCE–1975 CE). CC-BY-4.0.
  5. Glottolog 5.3 Global Language & Family Classification. CC-BY-4.0.
  6. Internet Archive — Ruins of Desert Cathay, Vol. 1 (Aurel Stein, 1912). Public Domain (Internet Archive).