Template:Short description Template:Improve references{{#invoke:Infobox|infoboxTemplate |templatestyles = Template:Infobox country/styles.css | bodyclass = ib-country vcard | aboveclass = adr | above = {{#if:Former Liang (前涼)西平, 涼

    | {{#if:Former Liang (前涼)

|

Former Liang (前涼)
       }}{{#if:西平, 涼

|

              }}{{#ifeq:|yes
              |Micronation
       }}

|

}}

| subheader = {{#if: | {{{life_span}}} | {{#if:301|301{{#if:376|–376 }} }} }}

| image1 = {{#if:

 |Template:Infobox country/imagetable }}

| data1 = {{#if:

|Motto: Template:If empty{{#if:|

{{{englishmotto}}}

}}

   }}

| class2 = anthem | data2 = {{#if:

       |Anthem: Template:If empty
       }}{{#if:
       |Anthems: {{{anthems}}}
       }}{{#if:
       |
Royal anthem: {{{royal_anthem}}}
       }}{{#if:
       |
Flag anthem: {{{flag_anthem}}}
       }}{{#if:
       |
National march: {{{national_march}}}
       }}{{#if:
       |
Territorial anthem: {{{territorial_anthem}}}
       }}{{#if:
       |
Regional anthem: {{{regional_anthem}}}
       }}{{#if:
       |
State anthem: {{{state_anthem}}}
       }}{{#if:
       |
March: {{{march}}}
       }}

| data3 = {{#if:

    |{{#if:
              | Template:If empty
}}Template:If empty }}

| data4 = {{#if:Sixteen Kingdoms 338 AD (2).jpg

|{{#invoke:InfoboxImage|InfoboxImage|image=Sixteen Kingdoms 338 AD (2).jpg|size=|upright=1.15|alt=|title=Former Liang in the northwest }}{{#if:Former Liang in the northwest|

Former Liang in the northwest

}} }}

| data5 = {{#if:

|{{#invoke:InfoboxImage|InfoboxImage|image=|size=|upright=1.15|alt=|title= }}{{#if:|

}} }}

| label6 = Status | data6 = {{#if:Vassal|Template:Infobox country/status text }}

| label7 = Location | data7 =

| label8 = {{#if: | {{{capital_type}}} | Capital }}{{#ifeq: {{#ifeq:|capital

                        |capital|{{#switch:Guzang
                          | [[]] = capital
                          |  = capital
                          | not capital

}}}}|capital |

and largest city
             }}

| data8 = {{#if:Guzang|Guzang{{#if:|
{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:city}}}} }}

| rowclass9 = {{#if:Guzang|mergedrow}} | label9 = Capital-in-exile | data9 = {{#ifexist:|[[]]|}}

| rowclass10 = {{#if:Guzang|mergedrow}} | label10 = {{#if:| {{{admin_center_type}}} | Administrative center }} | data10 = {{#switch:

 |capital | =
 |Guzang =
 |Guzang =
 |#default = {{{admin_center}}}{{#if:Guzang||{{#if:|
{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:city}}}} }} }}

| rowclass11 = {{#if:Guzang|mergedbottomrow}} | label11 = Largest city | data11 = {{#ifeq: {{#ifeq:|capital

                        |capital|{{#switch:Guzang
                          | [[]] = capital
                          |  = capital
                          | not capital
                         }}}}|capital |
              | Template:If empty
              }}

| rowclass12 = mergedtoprow | label12 = Official languages | data12 = | rowclass13 = mergedrow | label13 = {{#if:|Recognized|Recognised}} languages | data13 = Template:If empty | rowclass14 = mergedrow | label14 = {{#if:|Recognized|Recognised}} national languages | data14 = Template:If empty | rowclass15 = mergedrow | label15 = {{#if:|Recognized|Recognised}} regional languages | data15 = Template:If empty | label16 = Common languages | data16 =


| rowclass17 = {{#ifeq:|yes

          |{{#ifeq:|yes |mergedrow}}
          |{{#ifeq:|yes |mergedbottomrow}} }}

| label17 ={{#ifeq:|yes

|

 |Template:If empty
 }}

| data17 =

| rowclass18 = {{#ifeq:|yes |mergedbottomrow}} | label18 = {{#ifeq:|yes

|

 |Template:If empty
 }}

| data18 =

| label19 = Ethnic groups {{#if: |

({{{ethnic_groups_year}}})

|

}}

| data19 =

| label20 = Religion {{#if: |

({{{religion_year}}})

|

}}

| data20 =

| label21 = Demonym(s) | data21 = {{#if:

 |{{#ifexist:{{{demonym}}} people
    | [[{{{demonym}}} people|{{{demonym}}}]]
    | {{{demonym}}}
   }}
 }}

| label22 = Type | data22 =

| label23 = Template:If empty | data23 =

| label24 = {{#if:Monarchy

    | {{#if:
              | [[{{{politics_link}}}|{{#ifeq:|yes|Organizational structure|Government}}]]| {{#ifexist:Politics of Former Liang
                 | {{#ifeq:|yes|Organizational structure|Government}}| {{#ifeq:|yes|Organizational structure|Government}}}}}}}}

| data24 = Monarchy

| header25 = {{#if:Monarchy || {{#if:

       | {{#if:
          | Leaders          
          | Government 
         }} 
       }} }}

| rowclass26 = mergedrow | data26 = {{#if:|Template:Infobox country/multirow }}

| rowclass27 = mergedrow | label27 = {{#if:Duke/Prince| Duke/Prince }} | data27 = {{#if:Duke/Prince| }} | rowclass28 = mergedrow | data28 = {{#if:301–314 | Template:Infobox country/multirow }}

| rowclass29 = mergedrow | label29 = {{#if:| }} | data29 = {{#if:| }} | rowclass30 = mergedrow | data30 = {{#if:|Template:Infobox country/multirow }}

| rowclass31 = mergedrow | label31 = {{#if:| }} | data31 = {{#if:| }} | rowclass32 = mergedrow | data32 = {{#if:|Template:Infobox country/multirow }}

| label40 = Legislature | data40 = | rowclass41 = mergedrow

| label41 =

• {{#if:||Upper house}}

| data41 = | rowclass42 = mergedbottomrow

| label42 =

• {{#if:||Lower house}}

| data42 =

| rowclass43 = {{#if: |mergedtoprow}} | header43 = {{#if:

  |{{#if:

| {{{sovereignty_type}}}{{#if: | 

{{{sovereignty_note}}}

}}

     | {{#if:| | Establishment }}
 }} }}

| label44 = Establishment | data44 = {{#if:

     |
     |
     }}

| label45 = {{#if:|Historical era|History}} | data45 = {{#if: |{{#ifexist:|[[]]|}} | {{#if:301| }}}}

| rowclass46 = {{#if: |mergedrow |mergedbottomrow}} | data46 = {{#if:|Template:Infobox country/multirow }}

| rowclass47 = {{#if:301 |mergedrow |mergedbottomrow}} | data47 = {{#if:301|Template:Infobox country/multirow }}

| rowclass60 = mergedtoprow | header60 = {{#if:

 | {{#if:
              | [[{{{area_link}}}|Area {{#ifeq:|yes|claimed|}}]]
              | {{#ifexist:Geography of Former Liang
                 | Area {{#ifeq:|yes|claimed|}}
                 | Area {{#ifeq:|yes|claimed|}}}}}} }}

| rowclass61 = {{#if:|mergedrow|mergedbottomrow}}

| label61 =

• Total

| data61 = {{#if:

 |{{#if:
    |Template:Convinfobox
    |{{#if:
       |Template:Convinfobox
     }}
  }}{{#if: | ({{{area_rank}}}) }}
 }}

| rowclass62 = {{#if:|mergedrow|mergedbottomrow}}

| label62 =

• Land

| data62 = {{#if:

 |{{#if:
    |Template:Convinfobox
    |{{#if:
       |Template:Convinfobox
     }}
  }}
 }}

| rowclass63 = {{#if:|mergedrow|mergedbottomrow}}

| label63 =

• Water

| data63 = {{#if:

 |{{#if:
    |Template:Convinfobox
    |{{#if:
       |Template:Convinfobox
     }}
  }}
 }}

| rowclass64 = {{#if:|mergedrow|mergedbottomrow}}

| label64 =

• Water (%)

| data64 =

| rowclass65 = {{#if:|mergedrow|mergedbottomrow}}

| label65 =

• 

| data65 = {{#if:| }}

| rowclass66 = {{#if:|mergedrow|mergedbottomrow}}

| label66 =

• 

| data66 = {{#if:| }}

| rowclass67 = {{#if:|mergedrow|mergedbottomrow}} | label67 = | data67 = {{#if: | Template:Convinfobox }}

| rowclass68 = {{#if:|mergedrow|mergedbottomrow}} | label68 = | data68 = {{#if: | Template:Convinfobox }}

| rowclass69 = {{#if:|mergedrow|mergedbottomrow}} | label69 = | data69 = {{#if: | Template:Convinfobox }}

| rowclass70 = {{#if:|mergedrow|mergedbottomrow}} | label70 = | data70 = {{#if: | Template:Convinfobox }}

| rowclass71 = {{#if:|mergedrow|mergedbottomrow}} | label71 = | data71 = {{#if: | Template:Convinfobox }}

| rowclass72 = mergedrow

| label72 =

• {{{FR_metropole}}}

| data72 = {{#if:| }}

| rowclass73 = mergedrow

| label73 =

• IGN

| data73 = {{#if:

 |{{#if:
    |Template:Convinfobox{{#if:| ([[List of countries and dependencies by area|]])}}
  }}
}}

| rowclass89 = mergedbottomrow

| label89 =

| data89 = {{#if:

 |{{#if:
    | Template:Convinfobox{{#if:| ([[List of countries and dependencies by area|]])}}
  }}
}}

| rowclass90 = mergedtoprow | header90 = {{#if:

    |{{#if:
              | {{#ifeq:{{{population_link}}}|no|Population|[[{{{population_link}}}|Population]]}}| {{#ifexist:Demographics of Former Liang
                 | Population| Population}}}} }}

| rowclass91 = mergedrow

| label91 =

• {{#if: |{{{population_estimate_year}}} estimate|Estimate}}

| data91 = {{#if:

       |{{{population_estimate}}}{{#if: | ({{{population_estimate_rank}}})}}
       }}

| rowclass92 = mergedrow

| label92=

• 

| data92= {{#if:|}}

| rowclass93= mergedrow

| label93=

• 

| data93= {{#if:|}}

| rowclass94= mergedrow | data94= {{#if:|Template:Infobox country/multirow }}


| rowclass95= mergedrow

| label95=

• {{#if: |{{{population_census_year}}} census|Census}}

| data95= {{#if:

 |{{{population_census}}}{{#if: | ({{{population_census_rank}}})}}
 }}

| rowclass96= mergedrow | label96 = {{#if:|{{#if:|Template:Nobold}}}} | data96 = {{#if:|{{#if:|}}}}

| rowclass97 = mergedrow

| label97=

• Total

| data97= {{#if:|{{#if:

|{{{FR_total_population_estimate}}}{{#if:| ({{{FR_total_population_estimate_rank}}})}}
 }} }}

| rowclass98 = mergedrow

| label98=

• {{{FR_metropole}}}

| data98= {{#if:|{{{FR_metropole_population}}}{{#if:

| ({{{FR_metropole_population_estimate_rank}}})}}
}}

| rowclass99 = mergedbottomrow

| label99=

• Density

| data99= {{#if:

    | Template:Convinfobox{{#if: | ({{{population_density_rank}}})}}
    }}

| rowclass100 = {{#if:|mergedbottomrow|mergedtoprow}} | label100 = Membership | data100=

| rowclass101= mergedtoprow | label101= {{#ifeq:|yes|Claimed|}} GDP Template:Nobold | data101= {{#if:

    |{{#if: |{{{GDP_PPP_year}}} }}estimate
    }}

| rowclass102= mergedrow

| label102=

• Total

| data102= {{#if:

    |{{{GDP_PPP}}}{{#if: | ({{{GDP_PPP_rank}}})}}
    }}

| rowclass103= mergedbottomrow

| label103=

• Per capita

| data103= {{#if:

    |{{{GDP_PPP_per_capita}}}{{#if: | ({{{GDP_PPP_per_capita_rank}}})}}
    }}

| rowclass104= mergedtoprow | label104= {{#ifeq:|yes|Claimed|}} GDP Template:Nobold | data104= {{#if:

  |{{#if: |{{{GDP_nominal_year}}} }}estimate
  }}

| rowclass105= mergedrow

| label105=

• Total

| data105= {{#if:

    |{{{GDP_nominal}}}{{#if: | ({{{GDP_nominal_rank}}})}}
    }}

| rowclass106= mergedbottomrow

| label106=

• Per capita

| data106= {{#if:

       | {{{GDP_nominal_per_capita}}}{{#if: | ({{{GDP_nominal_per_capita_rank}}})}}
      }}

| label107= Gini{{#if: | Template:Nobold}} | data107= {{#if:

    | {{#switch:
             |increase = Template:IncreaseNegative |decrease = Template:DecreasePositive |steady = Template:Steady }}{{{Gini}}}
Template:Nowrap{{#if: | ({{{Gini_rank}}})}}}}

| label108= HDI{{#if: | Template:Nobold}} | data108= {{#if:

    | {{#switch:
             |increase = Template:Increase |decrease = Template:Decrease |steady = Template:Steady }}{{{HDI}}}
Template:Nowrap{{#if: | ({{{HDI_rank}}})}}}}

| label109= {{#ifeq:|yes|Purported currency|Currency}} | data109= {{#if:Chinese coin, Chinese cash (Wu Zhu)

    | Chinese coin, Chinese cash (Wu Zhu) {{#if: |({{{currency_code}}})}}
  }}

| rowclass119= {{#if: |mergedtoprow}} | label119= Time zone | data119= {{#if:

    |Template:Nowrap {{#if:|({{{time_zone}}})}}
    |
    }}

| rowclass120= {{#if: |mergedrow |mergedbottomrow}}

| label120=

• Summer (DST)

| data120= {{#if:

    |Template:Nowrap {{#if:|({{{time_zone_DST}}})|{{#if:|({{{DST}}})}}}}
    |{{#if:|{{{time_zone_DST}}}|}}
    }}

| rowclass121= mergedbottomrow | label121= | data121=

| label122 = Antipodes | data122=

| label123 = Date format | data123=


| label126= {{#if:

   |{{#ifexist:Telephone numbers in Former Liang
              | Calling code
              | Calling code
             }}
  }}

| data126=

| label127= ISO 3166 code | data127= {{#switch:

    |omit = 
    | = {{#if:Former Liang
             | {{#if:Template:ISO 3166 code
                | [[ISO 3166-2:Template:ISO 3166 code|Template:ISO 3166 code]]
               }}
            }}
    |#default = [[ISO 3166-2:{{{ISO3166CODE}}}|{{{ISO3166CODE}}}]]
   }}

| label128= Internet TLD | data128=

| data129 = {{#if:

|

Website
{{{official_website}}}
    }}

| data130= {{#if:

| {{#invoke:InfoboxImage|InfoboxImage|image=|size=|upright=1.15|alt=|title=Location of Former Liang }}{{#if:|

}}

 }}

| data134 = {{#if:Jin dynasty (266–420)#Eastern Jin (317–420)|Eastern JinFormer Qin

             |Template:Infobox country/formernext

}}

| label135 = Today part of | data135 = China
Kyrgyzstan
Mongolia

| data136 = {{#if:

|

    {{#if:|
  1. }}{{#if:|
  2. }}{{#if:|
  3. }}{{#if:|
  4. }}{{#if:|
  5. }}{{#if:|
  6. }}{{#if:|
  7. }}{{#if:|
  8. }}

}}

| data137 = {{#if:

|

    {{#if:|
  1. }}{{#if:|
  2. }}{{#if:|
  3. }}{{#if:|
  4. }}{{#if:|
  5. }}{{#if:|
  6. }}{{#if:|
  7. }}{{#if:|
  8. }}

}} | data138 = {{#if:|

{{#if:|
{{{footnotes2}}}}}

}}

| belowclass = mergedtoprow noprint | below = {{#if:| Template:Navbar }} }}{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:Infobox country with unknown parameter "_VALUE_"|ignoreblank=y| admin_center_type | admin_center | alt_coat | alt_flag | alt_flag2 | alt_map | alt_map2 | alt_map3 | alt_symbol | anthem | anthems | antipodes | area_acre | area_data2 | area_data3 | area_footnote | area_ha | area_km2 | area_label | area_label2 | area_label3 | area_land_acre | area_land_footnote | area_land_ha | area_land_km2 | area_land_sq_mi | area_link | area_rank | area_sq_mi | area_water_acre | area_water_footnote | area_water_ha | area_water_km2 | area_water_sq_mi | regexp1 = border_[ps][%d]+ | calling_code | capital_exile | capital_type | capital | cctld | coa_size | coat_alt | common_languages | common_name | conventional_long_name | coordinates | currency_code | currency | date_end | regexp2 = date_event[%d]+ | date_format | date_post | date_pre | date_start | demonym | regexp3 = deputy[%d]+ | drives_on | DST_note | DST | empire | englishmotto | era | regexp4 = established_date[%d]+ | regexp5 = established_event[%d]+ | established | ethnic_groups_ref | ethnic_groups_year | ethnic_groups | event_end | event_post | event_pre | event_start | regexp6 = event[%d]+ | flag| flag_alt | flag_alt2 | flag_border | flag_caption | flag_caption | regexp7 = flag_[ps][%d]+ | flag_size | flag_type | flag_type_article | flag_width | flag2_border | regexp8 = footnote_[a-h] | regexp9 = footnote[%d]+ | footnotes | footnotes2 | FR_cadastre_area_km2 | FR_cadastre_area_rank | FR_cadastre_area_sq_mi | FR_foot | FR_foot2 | FR_foot3 | FR_foot4 | FR_foot5 | FR_IGN_area_km2 | FR_IGN_area_rank | FR_IGN_area_sq_mi | FR_metropole_population_estimate_rank | FR_metropole_population | FR_metropole | FR_total_population_estimate_rank | FR_total_population_estimate_year | FR_total_population_estimate | GDP_nominal_per_capita_rank | GDP_nominal_per_capita | GDP_nominal_rank | GDP_nominal_year | GDP_nominal | GDP_PPP_per_capita_rank | GDP_PPP_per_capita | GDP_PPP_rank | GDP_PPP_year | GDP_PPP | Gini_change | Gini_rank | Gini_ref | Gini_year | Gini | government_type | HDI_change | HDI_rank | HDI_ref | HDI_year | HDI | house1 | house2 | image_coat | image_flag | image_flag2 | image_map_alt | image_map_caption | image_map_size | image_map | image_map2_alt | image_map2_caption | image_map2_size | image_map2 | image_map3 | regexp10 = image_[ps][%d]+ | image_symbol | iso3166code | languages_sub | languages_type | languages | languages2_sub | languages2_type | languages2 | largest_city | largest_settlement_type | largest_settlement | regexp11 = leader_name[%d]+ | regexp12 = leader_title[%d]+ | regexp13 = leader[%d]+ | legislature | life_span | linking_name | location_map | loctext | lower_house | map_caption | map_caption2 | map_caption3 | map_width | map2_width | map3_width | membership_type | membership | micronation | motto | name | national_anthem | national_languages | national_motto | native_name | navbar | nummembers | official_languages | official_website | org_type | other_symbol_type | other_symbol | regexp14 = [ps][%d]+ | patron_saint | patron_saints | percent_water | politics_link | pop_den_footnote | population_census_rank | population_census_year | population_census | population_data2 | population_data3 | population_density_km2 | population_density_rank | population_density_sq_mi | population_estimate_rank | population_estimate_year | population_estimate | population_label2 | population_label3 | population_link | recognised_languages | recognised_national_languages | recognised_regional_languages | recognized_languages | recognized_national_languages | regexp15 = ref_area[%d]+ | regexp16 = ref_pop[%d]+ | regional_languages | recognized_regional_languages | religion_ref | religion_year | religion | regexp17 = representative[%d]+ | royal_anthem | flag_anthem | march | national_march | regional_anthem | territorial_anthem | state_anthem | sovereignty_note | sovereignty_type | regexp18 = stat_area[%d]+ | regexp19 = stat_pop[%d]+ | regexp20 = stat_year[%d]+ | status_text | status | symbol| symbol_type_article | symbol_type | symbol_width | text_symbol_type | text_symbol | time_zone_DST | time_zone | title_deputy | title_leader | title_representative | today | type_house1 | type_house2 | upper_house | utc_offset_DST | utc_offset | regexp21 = year_deputy[%d]+ | year_end | year_exile_end | year_exile_start | regexp22 = year_leader[%d]+ | regexp23 = year_representative[%d]+ | year_start}}Template:Main other{{#if:|{{#ifeq:Vassal|Colony|Template:Main other|{{#ifeq:Vassal|Exile|Template:Main other}}}} }} The Former Liang (Template:Zh; 301Template:Efn–376) was a dynastic state, and one of the Sixteen Kingdoms, in Chinese history. It was founded by Zhang Shi<ref name=":0">Template:Cite book</ref> of the Han Chinese Zhang family. Its territories included present-day Gansu and parts of Ningxia, Shaanxi, Qinghai and Xinjiang.<ref name=":1">Template:Cite book</ref>

All rulers of the Former Liang remained largely titularly under the court of the Eastern Jin dynasty as the Duke of Xiping except Zhang Zuo who proclaimed himself emperor (or king). However, at times the other Former Liang rulers also used the king title when imposed on them when they were forced to submit to their powerful neighbour states—initially the Former Zhao, then the Later Zhao, and finally the Former Qin. As the early rulers did not explicitly declare their independence, the official year of Former Liang's establishment is up to interpretation, but no earlier than 301, the year when Zhang Gui was appointed Inspector of Liang province. Historiographers gave the state the prefix of "Former" to distinguish it from the Di-led Later Liang that came after them, along with the other Liang states of the Sixteen Kingdoms, Southern Liang, Northern Liang and Western Liang.

HistoryEdit

BackgroundEdit

The founding of the Former Liang can be traced back to Zhang Gui. He was a Han Chinese official under the Western Jin dynasty who claimed descent from Zhang Er, the King of Changsha during Emperor Gaozu of Han’s era. Zhang Gui was appointed as provincial inspector by the imperial court in 301.<ref name=":2">Template:Cite journal</ref>

Along with his two sons, Zhang Mao and Zhang Shi, he made Guzang (姑臧, in modern Wuwei, Gansu) his main base and worked closely with the local population to ensure the dynastic rule of his family.<ref name=":2" /> Due to the stability in the area, Former Liang became a refuge for those fleeing the chaos of the heartland.<ref>Template:Cite book</ref><ref name=":2" /><ref>Template:Cite journal</ref> Zhang Gui also developed the region by promoting agriculture and establishing new schools. Despite his influence in Liang, Zhang Gui never declared independence and remained a Jin official up to his death in 314. Likewise, his successors for the most part nominally retained their status as Jin officials, maintaining their legitimacy by maintaining ties with the Jin court.<ref name=":2" /> As a result of the migration of refugees from the collapsing Western Jin, there was an influx of literati who fled to Former Liang rather than the Jin court-in-exile in the south, which resulted in the Former Liang becoming a cultural center of North China.<ref name=":2" />

Early yearsEdit

Zhang Gui aided the Western Jin in its war against the Xiongnu-led Han dynasty (renamed to Former Zhao in 319), as did his son and successor Zhang Shi. After Emperor Min of Jin’s capture and execution, Zhang Shi sent envoys to the prince, Sima Rui at Jiankang in the south, urging him to take the throne. The dynasty was re-established as the Eastern Jin in 318, but despite his endorsement, Zhang Shi refused to adopt Sima Rui’s new reign era. Instead, he continued to use Emperor Min’s reign era, Jianxing (建興) within his territory, a practice that was upheld by most of his successors. Zhang Shi is considered the de facto founder of the Former Liang, establishing Guzang as its capital in 317.<ref>Template:Cite book</ref>

After Zhang Shi's assassination in 320, his brother, Zhang Mao took power. He came into conflict with the Former Zhao, who were expanding westward to compete with their rival Later Zhao. In 323, Zhang Mao submitted to the Former Zhao, receiving the title of King of Liang and the nine bestowments, while internally retaining his Jin title of Duke of Xiping.

Reign of Zhang JunEdit

The Former Liang reached its peak under Zhang Jun, who succeeded his uncle Zhang Mao in 324. After the Later Zhao conquered Former Zhao in 329, he rejected Later Zhao's authority at first, but was eventually pressured into submission.<ref name=":3">Template:Cite book</ref> Regardless, in 335 his forces marched across the sands and expanded his territory, forcing several oasis states in the Western Regions like Kucha to submit to him.<ref name=":1" /> In the mid-fourth century, it is believed that Former Liang could have maintained control over much of modern day Gansu and Xinjiang, as well as portions of Qinghai and Ningxia.<ref name=":1" /> Zhang Jun also established ties with the Cheng-Han dynasty in southwestern China.<ref>Template:Cite book</ref>

Under him, the Former Liang began to use the ranks and titles of the imperial court, as well as imitating the flag, trappings, and carriage of the Emperor roughly twenty-one years into his reign.<ref>Template:Cite book</ref> His state's immense wealth was exemplified by his extravagant building projects, most notably the five palaces he built south of Guzang.<ref name=":3" /> In 345, he proclaimed himself Acting Prince of Liang, all while still recognizing Jin as his overlord.

Internal turmoil and declineEdit

Zhang Jun died in 346 and was succeeded by his son Zhang Chonghua. Relations between Former Liang and Later Zhao had soured near the end of Zhang Jun's reign, and shortly after Chonghua ascended, Zhao launched an invasion on Liang. The Liang general, Xie Ai initially repelled the invaders, but they still lost their territory south of the Yellow River.<ref name=":3" /> During and after the Later Zhao collapse in the early 350s, Chonghua attempted to reclaim lost land and expand eastward, but his efforts were frustrated by the new and rising Former Qin dynasty. His death in 353 began a lengthy period of internal turmoil within the state as he left behind his 10-year-old son Zhang Yaoling on the throne.

Shortly after ascending, Yaoling was deposed by his uncle and regent, Zhang Zuo. In 354, Zhang Zuo declared himself emperor (or king), being the only Former Liang ruler to fully reject Jin's suzerainty. In 355, a distant relative, Zhang Guan, overthrew him and installed Zhang Chonghua's five-year-old son, Zhang Xuanjing, to take the throne. Zhang Guan acted as regent but later considered usurping the throne before he was killed by Song Hun. Song Hun and his brother, Song Cheng, were members of the prominent Song clan of Dunhuang and served as Xuanjing's regents in succession, during which they discarded Zhang Zuo's imperial title. In 361, Song Cheng was assassinated by the general, Zhang Yong, who soon suffered the same fate at the hands of his co-regent and Xuanjing's uncle, Zhang Tianxi. Tianxi was the last of Xuanjing's regents, as in 363, he deposed his nephew and assumed power for himself.

Fall and aftermathEdit

File:Dunhuang Mogao Ku 2013.12.31 12-30-18.jpg
The Mogao Caves in Dunhuang, Gansu, which first began construction during the Former Liang era.

Infighting within the Former Liang left the state severely weakened. Several pro-Eastern Jin rebellions broke out in 356 and they once more lost all their territory south of the Yellow River. Faced with pressure from the Former Qin, they were also forced to submit to them as vassals. During his regency and reign, Zhang Tianxi finally discarded the Jianxing reign era and adopted the Eastern Jin's reign eras, thus fully recognizing their sovereignty. Later, he attempted to get the Jin commander, Huan Wen, to coordinate a campaign with him against Qin but was ignored. In 376, Former Qin invaded Former Liang, prompting Tianxi to surrender and ending the state.

Zhang Tianxi served as a mid-level official under the Qin, but in the aftermath of the Battle of Fei River in 383, he managed to escape to the Eastern Jin. He became a Jin official and was restored to his family's title of Duke of Xiping before dying in 406. His son, Zhang Dayu attempted to restore his family's state in 386, but was killed in 387 by Lü Guang, the founder of Later Liang.

Despite the chaos that plagued Former Liang in its later years, it also saw the emergence of the Mogao Caves, as these Buddhist grottoes are widely believed to have been first constructed by the monk, Le Zun (樂尊) near Dunhuang in 366.<ref>Template:Cite book</ref>

Rulers of the Former LiangEdit

Posthumous names Family names and given name Durations of reigns Era names and their according durations
Wu Zhang Gui 301–314
Ming Zhang Shi 314–320<ref name=":0" /> Jianxing 建興 318–320Template:Efn
Cheng Zhang Mao 320–324<ref name=":0" /> Jianxing 建興 or Yongyuan 永元 320–324
Zhongcheng Zhang Jun 324–346<ref name=":0" /> Jianxing 建興 or Taiyuan 太元 324–346
Huan Zhang Chonghua 346–353<ref name=":0" /> Jianxing 建興 or Yongle 永樂 346–353
Zhang Yaoling 353 Jianxing 建興 353
King Wei Zhang Zuo 353–355<ref name=":0" /> Heping 和平 354–355
Jingdao Zhang Xuanjing 355–363<ref name=":0" /> Jianxing 建興 355–361

Shengping 升平 361–363Template:Efn

Dao Zhang Tianxi 364–376<ref name=":0" /> Shengping 升平 363–372

Xian'an 咸安 372–376Template:Efn

Rulers family treeEdit

Template:Former Liang rulers family tree

See alsoEdit

NoteEdit

<references group="lower-alpha" />

ReferencesEdit

Template:Reflist

{{#invoke:Navbox|navbox}}