Abstract
Extreme flooding and prolonged, intensifying droughts have played a critical role in the rise and collapse of preindustrial states and empires worldwide, triggering cascading impacts such as crop failure, famine, and migration that undermined socio-political stability and economic resilience. We present a multicomponent hydroclimatic vulnerability model for crop supply networks to estimate the contribution of climatic stressors as one of several factors contributing to the decline of the late Tang Dynasty in northern China between 800 and 907 CE. We demonstrate that recurrent flooding and prolonged droughts, combined with an unsustainable shift in crop production from drought-tolerant millet to less resilient wheat and rice, led to harvest failures and food shortages during the cooler and drier climatic conditions of the late 9th and early 10th centuries CE. Intensifying raiding from competing polities and climatic extremes further affected grain supplies for the late Tang’s northern military frontier and partly contributed to the sudden decline of the dynasty. Our results emphasize the importance of multicomponent environmental response models to understand historical transformations and provide new aspects of China’s socio-political development during medieval times.
Similar content being viewed by others
Introduction
The Yellow River Loop (YRL) region in northern China (Fig. 1), close to today’s border with Mongolia, played a crucial role in the agricultural, political, and economic powers of ancient states in eastern Asia1,2. The YRL represented a politically contested transitional zone where competing interests of local communities and state authorities intersected in the struggle for resource control. The YRL was also strategically important due to its access to fertile land, salt, and pasture. The spatial distribution of cropland and climatically sensitive grasslands was, however, strongly affected by changes in seasonal hydroclimatic properties, precipitation amount and the extent of the East Asian Summer Monsoon (EASM)3,4. Access to resources further triggered political interventions to maintain food security during periods of hydrological and meteorological extremes, such as prolonged droughts and consecutive flooding events5,6. Characterized by run-off values below normal, YRL hydrological droughts are amplified by anomalies in precipitation (P) and potential evapotranspiration (PET), leading to moisture deficits7,8,9,10. Multiannual events and agricultural droughts increase the vulnerability of crops and subsequent potential for famine caused by food shortages7,11. The oscillation and interplay of very wet conditions, enhanced flooding and prolonged droughts with sociopolitical internal and external stressors further accelerated the vulnerability of food security, particularly for premodern, peripheral subsistence economies in the northern YRL12,13. In addition, continuous impacts on the landscape caused by environmental shifts or human decision-making have reshaped agricultural affordances through time. Particularly, irrigation and manuring alter soil composition and fertility, leading to period-inherent agricultural demands that are rather situational than constant14,15,16.
Topography (A), extent (B), annual average temperature (C) and precipitation (D)91. Yellow River simulation represents the simulated main stem based on topography; Yellow River [NE] is the Natural Earth river centerline dataset (naturalearthdata.com, last accessed 18th of March 2025); the dashed line represents the 400 mm/year isohyet, which is considered to determine the southern boundary of the farming-pastoral transition area and almost coincides with the EASM boundary in China (calculated from CHELSA monthly gridded data from 1980 to 2018 CE91). Tang towns subset from CHGIS104,105; last accessed 5th of April 2025 (see supplementary Table S1 for site names, location and dating. See Table S2 and Fig. S1 for the location of the prefectures).
Agricultural crop production is highly dependent on the climatic conditions during the growing season17, with the selection of climate-adapted and resilient crop varieties playing a crucial role in preventing harvest failures. Despite the introduction of wheat into a previously millet-based agricultural system around 3000–2000 BCE18,19, archaeobotanical and stable isotopic evidence from northern China indicates that millet remained the dominant crop in the human diet until at least the 5th century CE20,21,22. However, isotopic evidence from the Xinjiang region shows that wheat had already become an important dietary component by ~1800 BCE, while in the Gansu region, located in the upper reaches of the Yellow River, a mixed millet–wheat diet emerged from around 1700 BCE22. Further south, in the Zhengzhou area, the importance of wheat increased steadily from the Eastern Zhou period to the Han Dynasty (770 BCE to 220 CE)23. Along the middle and lower reaches of the Yellow River, substantial evidence for an increased dietary role of wheat does not appear until the 5th century CE22,24,25,26.
During the Tang Dynasty in the north, wheat increasingly became an important part of the diet. It has been theorized that the later rise in prominence of wheat is tied to seasonal crop-rotation cycles. In the north, these cycles would have involved winter wheat raised on monsoonal precipitation and summer irrigated millets, legumes, and vegetable crops27,28,29. In the southern regions of the empire, rice was likely rotated with wheat, whereas wet paddies were drained for winter planting. It would not be until the Song Dynasty that a fast-growing and high-yielding rice, called by historians Chompas rice, would be introduced; multiple rice cycles on one plot of land would not have been possible before that time30. Crop-rotation cycles would have permitted greater yields near urban centers, therefore allowing for greater demographic density and fueling imperial expansion17.
According to historical and archaeobotanical sources, the Tang Dynasty relied heavily on the staple crops millet (Setaria italica and Panicum miliaceum) and to a lesser extent wheat (Triticum aestivum) and rice (Oryza sativa) that shaped both diet and economy31,32,33. Particularly, the dominant millet was well adapted to harsh growing conditions during dry periods34,35,36. Wheat, however, became more and more prominent during the middle37 and particularly the late Tang Dynasty22,33,38. The early and middle Tang Dynasty, spanning approximately from the 7th to the mid-8th centuries CE, benefited from overall warm temperatures and relatively humid conditions6,39, which facilitated substantial agricultural expansion and enhanced resilience to political turmoil40,41. Such circumstances also resulted in substantial population growth9,42. Higher temperatures and more monsoonal precipitation likely contributed to a notable increase in grain yields35,36. However, towards the late Tang Dynasty, and particularly after 800 CE, relatively cooler and drier conditions affected the less drought-tolerant wheat and rice much more than millet, compromising integrated crop-rotations systems40. This climatic shift not only reduced agricultural productivity but also contributed to social and economic instability in the northern YRL, because poor harvests could no longer sustain the growing Tang population42. Major socio-political upheaval, migration towards the south and east, and constant political turmoil and warfare with groups along the northern borders with Mongolia further increased the vulnerability of the Tang’s marginal frontier zone, leading to deployment of military troops and infrastructure development.
Consequently, a network of fortified centers was constructed in the 8th and 9th centuries CE to support the northwestern Tang frontier defense, hosting tens of thousands of soldiers43,44,45,46,47,48. Food supply relied on tax allocations in the form of grain, local crop production, and costly long-distance transport from the Tang’s agricultural core production area in the eastern and south-eastern part of the middle and lower Yellow River basins49,50. Located within the eastern bend of the YRL, Shengzhou was a transfer hub where grain from Taiyuan was stored in military granaries and transported to the administrative hubs and military garrisons. Recurring flood events between 812 and 825 CE, however, struck the region, damaging citadels and forcing the relocation of key military infrastructure43,51.
Increased hydrological drought occurrences during the late Tang Dynasty in the 9th century CE1,8,52 coupled with continuous conflict from the north-western plateau and internal rebellion6,13,53 forced the local population to migrate towards the east and south, further disconnecting the food supply from the military troops at the northern frontier zones41. Economic and fiscal reforms, such as the introduction of commercial taxation, provided some relief to the late Tang Empire54. However, more pressure ultimately destabilized the government and contributed to the fragmentation and collapse of the dynasty in 907 CE9,42.
Here, we argue for a more nuanced connection between proximal and ultimate causation, whereas a succession of internal conflicts and military campaigns ultimately ended the dynastic reign, but ecological stressors exacerbated the reduced political resilience55. The complex interplay of consecutive hydroclimatic extremes and cascading effects such as harvest failure, famines, and migration and economic vulnerabilities that accelerated the socio-political instability of the late Tang Dynasty, however, remains insufficiently explored. Understanding the contribution of famines and food shortages during periods of increased socio-political and environmental vulnerability is key to address the mechanisms and underlying dynamics behind the decline of the centralized Tang state power13,56,57.
When debating the factors that lead to collapse or continuity of political entities, it is essential to differentiate between proximal and ultimate factors. Archaeological theorists have noted that external factors rarely provide the proximal cause of collapse, even if they are the ultimate cause58,59. While climatic events or military invasion may ultimately cause the destruction of an empire, that political system’s inability to cope with the external factors is almost invariably due to internal dynamics. This is undoubtedly the case for the Tang Dynasty, whereas historians have already laid out the path of political turmoil that entailed the proximal causes. The Tang were plagued with internal conflict, including the An Lushan Rebellion, culminating in the sacking of the capital of Chang’an by the Tibetan Empire in 76360. The empire would never rebound after the Huang Chao Rebellion, and over the following two decades, a series of raids, internal coups, and social turmoil would lead to a final power change in 907 CE61. The success of these military rebellions was due, in large part, to a succession of external factors, including military campaigns with Central Asia (such as the Battle of the Talas River), raiding from peoples to the north, and environmental unpredictability.
Here, we suggest that a critical factor was that local and regional crop production and subsequent long-distance food supply networks became increasingly vulnerable to climatic conditions at the end of the 9th and the early 10th century CE based on the multicomponent model performance. As a consequence, supply networks adapted to increased environmental and climatic vulnerability, replacing insufficient regional production of grain with long-distance sourced foods from the Tang agricultural center. Transportation of grain, however, was an unsustainable method to cope with changes in dietary habits and crop production. We further argue that unsustainable land-use and shifts in crop production and dietary habits weakened the peripheral communities and destabilized the Tang’s northern military frontier zones.
To explore the rapid decline of the Tang Dynasty, we evaluate a set of vulnerability models simulating food supply chains across the late Tang agricultural productivity zone during dry and humid extremes between 800 and 907 CE. We present (i) a multicomponent hydroclimatic vulnerability model for the YRL based on topographic, climatic, and hydrological variables; (ii) connectivity patterns of the late Tang administrative and military expansion into the northern YRL; and (iii) the reconstruction of late Tang crop production networks and the adaptation of military supply chains to past climate variability. We then provide a new interpretation of late Tang political decline caused by the interplay of climate variability, extremes and socio-economic instability. Our results stress the need for high-resolution multicomponent response models to understand past socio-cultural development in China. We further emphasize the high vulnerability of agricultural productivity to climatic variability including extremes in the northern YRL, and the importance of broad crop repertoires for sustainable land-use62.
Results and discussion
Hydroclimatic vulnerability of the YRL
The multicomponent hydroclimatic vulnerability model presented here (Fig. 2) shows the areas with high risk potential during hydrological droughts combined with simulated flooding extent. The model distinguishes a clear zonation of high drought vulnerability in the central and northern part of the Yellow River catchment and the transition to a more moisture-balanced eastern part, affected by precipitation regimes of the EASM. Moisture availability is the major control factor of crop production in the northern part of the YRL. The present-day 400 mm/year isohyet indicates the approximate threshold for the transition between a monsoon-controlled climate and a stronger continental influence and is considered the southern boundary of the farming-pastoral transition area (Fig. 1)1,63,64. In the south-eastern part of the Yellow River, monsoonal rainfall mitigates the risk for droughts during periods of a stronger EASM, which accounts for just over 50% of the annual precipitation between June and August65, however, it is also connected with a higher flood risk66.
High values (blue) indicate low composite drought vulnerability; low values (red) indicate increased composite drought vulnerability (hydrological and agricultural drought). The drought vulnerability model is a composite of flow accumulation and the multiannual cumulative SPEI from 1980 to 2018 CE91 (see supplementary Table S1 for site location and names and Figs. S4–S6 for data density plots). Administrative centers are given in red, military sites in green and Tang urban centers in black. A, B Urban center focus plots.
All urban centers of the late Tang Dynasty and their corresponding agricultural productivity areas are located in less drought-vulnerable areas in the lower basins of the Yellow River (Fig. 2A, B). In addition to the EASM precipitation patterns across the watershed, the flow accumulation of the branching lower Yellow River counteracts the strong negative gradient of the climatic water balance (CWB) and the high temperature in the lower basin (Figs. S2–S4). Historical sources confirm the development of extensive state-controlled river-based irrigation systems under the Tang Dynasty to cope with water shortages during dry periods67,68,69,70.
In the northern part of the YRL, the modeled risk of crop failure increased strongly due to higher drought vulnerability, particularly following the Tang Dynasty’s shift from drought-tolerant millet to less resilient wheat as the staple crop. The newly established administrative centers and the military fortifications of the late Tang period were located in areas with elevated drought risk, further compounded by high flooding potential. These sites were strategically positioned near the 400 mm/year isohyet (Fig. 1). The military sites show different spatial behavior and are located strategically in the northern YRL floodplain (Figs. S5 and S6). Crop production in this area is limited by the strongly negative CWB and the high drought vulnerability causing crop failures during years with decreased precipitation and increased PET. The multiannual monthly Standardized Precipitation Evapotranspiration Index (SPEI) drought index (Fig. S7) shows the high drought vulnerability of the newly established late Tang administrative and military centers in the northern YRL. In addition to the location in the northern bend of the YRL, the military fortifications are further prone to extensive flooding, which amplified the risk for crop failure and destruction of infrastructure during years with above-normal run-off. With limited space and increased vulnerability in agriculture, local crop production in the north was restricted to subsistence farming during periods with increased hydroclimatic extremes - above or below normal precipitation events.
Late Tang Dynasty land-use strategies
During the late Tang Dynasty, crops were produced in the Tang agricultural heartland in the eastern part of the Yellow River catchment (Fig. 3). High soil quality together with abundance of running freshwater for centralized irrigation management and less drought vulnerability made the region highly productive (Figs. S9–S12). Across the entire prefecturate, our land-use probability model shows high scores compared to the northern YRL (Figs. S13 and S14). The model includes soil properties and productivity scores from moisture availability, temperature, and topography. Particularly, soil properties play a crucial role in the spatial distribution of productivity scores. Cambisols are mostly abundant on terraces in the middle and lower parts of the Yellow River. The lower alluvial plain is characterized by fluvisols and luvisols towards the northern edges of the lower drainage basin and the northernmost part of the Tang croplands. Fluvisols and cambisols are mostly used for irrigated and unirrigated cultivation. Locally abundant, shallow and weakly developed regosols and eroded leptosols have lower land-use potential, mostly in combination with steeper slopes and higher elevation (Figs. S9–S12). Solonchaks with high soluble salt content are characterized as waste land and cannot be cultivated57. Compared to land-use suitability, the modeled prefecture-level agricultural crop production pathways were estimated. Within each prefecture, the most likely pathways for crop production and transportation to the urban centers were simulated depending on topographic, hydrological and climatic variables (Fig. 3). These modeled pathway simulations (or scenarios) are a representation of the topographic accessibility and land-use suitability and show the connection of the Tang rural hinterland to the urban supply hubs from which centralized and organized long-distance networks started. Which is a key factor, as the state-controlled deployment of troops along the border, Tang population growth53,71, and the establishment of administrative centers and military garrisons during the late Tang Dynasty pushed the local economic exploitation up too far and rapidly overstrained the crop productivity. The population development in the northern frontier zone was connected to military commands. The West and East Citadels became the administrative centers of standing armies (Tiande Garrison and Zhenwu Garrison) with the East Citadel being crucial for the defense of military granaries and the transport system connecting the northern garrisons to the agricultural heartland of the Tang31,32,72,73.
Light green polygon refers to the Tang Dynasty crop production area82. Land-use potential are the accumulative scores of soil properties98,99, topography and climate variables91. The intensity corridors show the highest probability of transportation pathways towards each prefecture center. The bar plot shows the suitability score distribution in percent. Agricultural potential is generally above mean value of 0.5 across the late Tang Dynasty productivity zone (normalized standard scores from 0 to 1; reference period of the climate variables is 1980–2018 CE. Tang towns and prefecture data acquired from CHGIS104,105 (refer to Fig. 1 and Table S1 for site names; see Fig. S13 for data distribution in each prefecture and Fig. S14 for the entire catchment).
To offset high transportation costs, the YRL garrisons partially relied on military farms operated by soldiers and state farms managed by farming families74. Local production avoided transport costs but required stable labor. The local climatic conditions and short growing seasons during colder and drier periods40 limited grain output for the garrisons. However, efforts to boost production through irrigation measures and state-controlled farms largely failed. By the mid-8th century CE, military farms supplied only 20% of provisions, with the majority of grain and fodder for the armies relying on state purchases and long-distance transport31,32.
Climate-controlled crop supply networks
Late Tang Dynasty northern and eastern China experienced a strong shift towards drier and cooler conditions after 700 CE and during the 9th until the early 10th centuries CE (Fig. 4A–C)75,76,77,78,79, challenging crop production particularly in the northern YRL. However, general trends towards lower rainfall were disrupted by frequent flooding events in the first half of the 9th century CE and between 880 and 890 CE. Such flooding events (n > 1500) are recorded in documentary sources over the last millennia with a maximum frequency of up to three events per year during dry and cool conditions6,66. Above normal run-off periods (Fig. 4D, E) in combination with increased land-use6, deforestation80, and consecutive drought years, also accelerated soil erosion, turning arable land into less productive land81. In the middle basin of the Yellow River, population growth during the Tang Dynasty exceeded the previous population numbers6,82, which resulted in a strong transformation of the landscape and extensive forest clearing.
A Reconstructed annual warm season temperature at Beijing deriving from speleothem records78; B Annual mean precipitation and uncertainty in north-eastern China deriving from natural pollen data (MAP N-set76,109). C Pollen based reconstructed EASM precipitation and uncertainty (light blue shaded color area) with local regression (LOESS, grey shaded envelope) at Gonghai Lake (North China)75. D Reconstructed Yellow River run-off dynamics deriving from upstream tree ring records for the period 800–1900 CE77; E for the period 800–907/908 CE77. Using dynamic binning techniques based on data variance (see methods), 53 bins were determined between 800 and 907/908 CE that characterize above normal run-off (potential flooding) (blue) or below normal run-off (potential hydrological drought) (red) probability. Dashed line = general mean value; grey solid line = Locally Estimated Scatterplot Smoothing (LOESS, span= 0.07 (D, across the full record) and 0.08 (E, across the subset)).
Grasslands prevailed due to widespread horse, caprine, and cattle breeding83, but socio-political challenges starting from the mid-8th century CE led to an abandonment of the pastures. Later reclamation of the land and agricultural exploitation fueled soil erosion and increased the river sediment load at the expense of climate sensitive grasslands6,84. Eroded soils in the YRL, therefore, caused poor harvests, particularly under drier and cooler conditions of the late Tang Dynasty. Harvest grades during the first half of the 9th century CE, as reported by Hao et al. (2020), ranged from very poor to a maximum of average with a sequence of particularly poor harvests between 800 and ~840 CE85. These reduced yields were most likely caused by the interplay of population development, the cultivation of wheat instead of drought-resistant millet, land-use intensification, and soil erosion, and were accelerated by climatic pressure.
Climatic pressure increased during the late 9th and particularly the early 10th centuries CE. A rather humid period with above-normal run-off during ~880 and 900 CE increased the risk of flooding events in the middle and lower reaches of the Yellow River. After 900 CE, a rapid and strong decline in run-off coincided with a drop in precipitation (Fig. 4B, C, E) and the reconstructed EASM strength75. A weaker EASM will transport less rain to the northern and middle Yellow River86 and increase regional hydrological drought. The end of the Tang Dynasty is then marked by a sharp decline in precipitation and run-off. Decreased precipitation and moisture availability could have affected upstream local crop production and downstream centralized agriculture as crop production beyond the irrigated core was reduced, and rain-fed farming was no longer possible. Consequently, crop production declined shortly before and around 900 CE with a sequence of very poor harvest grades85.
In the northern military frontier zone, local crop production was not sufficient to supply the population and the military troops. Large-scale transportation networks were established to maintain crop supply from the Tang heartland to the frontier zone (Fig. 5, upper panel). Production in the fertile and less drought-prone Tang prefectures in the eastern part of the catchment and the North China Plain, however, must enter the supply networks by a highly cost- and time-effective transportation system (Fig. 5, middle panel). The reconstructed prefecture-level production ran via high probability network corridors towards each central supply hub from which organized distribution through a set of environmentally adapted and optimized least cost networks occurred. Depending on the climatic conditions across the northern YRL and the upstream catchment, dry or humid periods impacted the overall networks through potential flooding events or during years with increased drought vulnerability. Semi-arid areas became less favorable to travel through due to decreased water availability and higher risk of mortality of horses, cattle, and people. During humid periods, flooding events affected the pathways, making river crossings and river-based transport difficult or impossible. Land-routes were rather the preferred option of transportation with fresh water being abundant during the long travels (Fig. 5, lower panel).
The late Tang Dynasty accumulative networks show the most likely transportation corridors during 108 years of climatic variability and surface response. Each node represents the most cost-effective connection between the late Tang urban centers in the crop production zone, the frontier administrative hubs and the military garrisons. Late Tang decentralization, exemplified by warlords controlling key administrative zones, however, likely fragmented supply networks and reduced central oversight, challenging the accuracy of the modeled routes presented here53,71. Pathway density was calculated using a Kernel Density Estimate (KDE) of the connective strings. Each network string, however, has been calculated individually using the climatic conditions present during the respective chronological bin derived from the run-off index. The resulting 53 environmental response bins indicate the approximate impact of increased drought conditions and flooding vulnerability in the middle and lower reaches of the YRL. Each network was individually weighted with the respective run-off coefficient of the record, assigning it a specific magnitude of vulnerability. Areas that are characterized by semi-arid or arid conditions will become drier during drought periods whereas flood-prone areas are more likely to be flooded during peaks in run-off. For each bin, the network looks different, avoiding extended semi-arid areas during droughts as well as flood zones during wet periods. The KDE emphasizes network continuity during periods of climatic variability as well as the adaptation of pathways, particularly in areas that are, for example, more vulnerable to small-scale changes in moisture budget (e.g., the Mu-Us desert). The MST (Minimum Spanning Tree) underlying each network is created from minimum local travel time between the nodes (e.g., the urban centers) and shows the maximum traffic between the closest production hubs (high spatial proximity) in the eastern part of the Tang cropland. From there, crops were transported via the central hubs IDs 6 (Liao Zhou) and 9 (Shangdang Jun) and particularly from Taiyuan (ID 3) to the west and then to the newly established late Tang administrative centers. The model’s representation of the transport network, however, may be oversimplified given the complex military fragmentation of Late Tang regional warlords (fanzhen). For instance, administrative centers 15–16 were controlled by the Weibo warlord, 20–21 by the Lulong warlord, and 22–23 and 27 by the Chengde warlord. These three warlords consolidated military, administrative, and fiscal authority, operating with substantial autonomy from the central government during much of the late Tang period.
Due to the lower spatial proximity of the administrative centers in the west, higher KDEs are observed, which furthermore scatter substantially due to environmental constraints underlying the network analysis. Here, the marginal zones of the Mu-Us desert with high aridity play a decisive role in network adaptation during periods of climatic variability. Marginal zones of semi-arid grasslands can be used as transportation zones, however, consecutive drought years, for example during the first decade of the 9th century CE and particularly the early 10th century CE, would push the margins further south, impacting the water and fodder availability and consequently altering the pathways. High travel times (Fig. 5, middle panel) further increase the vulnerability of travelling through semi-arid areas (Fig. 5, lower panel). In Fig. 5 (lower panel), the vulnerability of travelling across the landscape is visualized as an interpolated raster based on points sampled from the simulated connections between the sites. At each point, vulnerability values reflect the combined influence of flood and drought conditions along the underlying route segments, and when interpolated these values spread outward and overlap, producing broad corridors where exposure is consistently high. Lower travel times, higher spatial proximity, abundance of freshwater and positive CWB decreases the drought vulnerability and the risk of livestock and human loss (e.g., between the urban centers). The network vulnerability, however, is calculated cumulatively and equally incorporates the risk of travelling through areas with high flooding potential. Particularly, the northern YRL shows high vulnerability values, which is due to both semi-arid conditions during droughts and high flood risk during above normal run-off periods. The supply chains from the administrative centers to the military garrisons are the most vulnerable, caused by location in environmentally sensitive areas, low spatial proximity, and high travel times between the nodes.
Conclusions and perspectives
This study provides a detailed, multi-faceted analysis of the factors that contributed to political instability during the final phase of the Tang Dynasty in China. It demonstrates how the interplay between hydrological droughts, flooding, and socio-political pressures contributed to and likely enhanced internal and external socio-political stress and instability that led to the collapse of the dynasty in the late 9th and early 10th centuries CE. To examine these dynamics, we developed a hydroclimatic landscape vulnerability and network model centered at the northern YRL and the core agricultural regions of the late Tang state. This model simulates evolving food supply networks under non-stationary climatic conditions from 800 to 907/908 CE. The model shows that environmental stressors and logistical constraints shaped regional provisioning systems. Our findings point to three principal mechanisms of increased vulnerability:
(1) A transition in key crop production from drought-tolerant millet to more climate-sensitive wheat and rice increased the risk of harvest failure and famine.
(2) In response to pressure from invading groups originating from the Mongolian steppe, the Tang state established new military garrisons and administrative centers along its northern frontier. These sites faced chronic local food shortages and became dependent on increasingly fragile long-distance supply routes.
(3) Prolonged drought conditions in the northern YRL severely compromised the viability of these supply routes. Our simulations show that past land-based transportation systems consistently avoided the dry and fragile edges of the Mu Us Desert due to the environmental challenges these areas presented.
By modeling the vulnerability of historical food systems under climatic stress, this research highlights the critical role of environmental factors in the decline of state capacity and territorial cohesion during the final decades of the Tang Dynasty. This is the attempt to investigate, model and highlight the potential influence of environmental and climatic constraints on socio-political transitions and land-use strategies for this period in Chinese history. Overall, the study underscores the importance of integrating high-resolution climate data with spatial modeling techniques to better understand how hydroclimatic changes contributed to socio-political transformations in imperial China. The complex multicomponent model presented here is an innovative and likewise first attempt to integrate the various feedbacks and links of climate change, environmental response, and socio-political development. However, we clearly state that environmental challenges are contributing to social instability and that multifactor changes increase the vulnerability of a society to fail. We agree with previous research that pointed out the complex interplay of environmental shifts and Tang internal stressors56. Further applications are needed for other periods and areas to test the model assumptions, yet it is important to stress that this study investigates the late Tang Dynasty for itself and does not pretend that similar ecological settings would lead to similar effects on other socio-political systems. To the contrary, it is likely that socio-political issues intrinsic to the Tang Dynasty (e.g., choices related to not well adapted subsistence strategies) implied a lack of resilience given the environmental conditions during that period in this region. Moreover, the presented connectivity model can be complemented by different palaeoclimatic proxy data and other modeling techniques to actively integrate complex and fluctuating variables affecting landscape accessibility such as administrative capacity, state fiscal policy, military taxation, and the role of regional warlords in the political fragmentation.
Material and methods
Hydroclimatic drought vulnerability model
All analyzes were conducted using R software and open access data87,88,89. A hydroclimatic model for the northern YRL was created based on a digital elevation model (DEM, USGS: Global Multi-resolution Terrain Elevation Data 2010 90 (https://earthexplorer.usgs.gov/; last accessed 15th of January 2025) and climate variables91 (CHELSA Version 2.1 (Climatologies at high resolution for the earth’s land surface areas); https://chelsa-climate.org/downloads/, last accessed 15th of January 2025). The DEM was resampled to 250 m spatial resolution in EPSG:3857 using the terra package92 in R software87 and cropped to an operative bounding box (extent: 80°, 125°, 30°, 50°). Using the whitebox package93,94, a streamflow network and the longest connection within the river network were calculated to estimate the extent of watershed of the upstream main stem (simulating the Yellow River)51. The DEM and all input variables were cropped to this window, which captures the catchment-inherent climatic conditions. The CHELSA monthly resolved climate variables come in raster format (n = 468, ref. period 1980–2018) and were equally processed. Precipitation (P), average temperature (T), and PET as well as the climatic moisture index (CMI) were extracted for each month and cropped to the extent of the watershed of the Yellow River. From P and PET, the CWB for each month was calculated as CWB[i] = P[i]-PET[i], scaled, and compared to the CHELSA CMI variable. The SPEI95 index was processed, which is a multi-monthly pixel-wise estimate of drought conditions (SPEI package96). Particularly useful in semiarid areas or regions with a lot of water loss caused by evapotranspiration, the SPEI accounts not only for precipitation deficit but also for accelerated atmospheric evaporative loss (Fig. S9). Hydrologic modeling was carried out using SAGA GIS in the R environment via the package Rsagacmd97. We produced a run-off and flow accumulation grid from the successive flow routing algorithm with 10 iterations on the DEM (Fig. S10). The multiannual SPEI composite was inverted and both the SPEI and the flow accumulation were normalized using a minmax function and summed up to the hydroclimatic vulnerability model (Fig. 2).
Crop production probability model
We prepared a weighted Multi-Criteria Evaluation model for potential agriculture based on topography (elevation [m. asl], slope [°], T [°C], CWB [kg/sqm/month] and soil units (250 m spatial resolution). All input variables were scored from 0 (low) to 1 (high) based on generalized affordances for agricultural purposes. We employed a soil classification workflow, which combines data from the Soil and Terrain database for China98 with the internationally harmonized FAO soil taxonomy99. Climate variables (monthly T and CWB, 1980-2018) from CHELSA were subset to the growing period April–October and multiannual monthly mean values and growing season averages were calculated. Terrain analysis was performed on the DEM and the slope (in degrees) was calculated. The elevation and the slope were scored as shown in Table S2 with elevation up to 1000 m representing the most suitable range for crop production and higher values characterized by declining scores. Flat areas and gentle slopes were considered highest scoring whereas increasing slope gradients show increased risk of soil erosion and less manageable terrain. T below 5 °C indicates non-suitability and the optimum T corridor was set to between 11 and 23 °C. Higher values were considered less favorable due to increasing risk of crop failure and need for intensive irrigation, particularly in semi-arid or arid areas. Moisture availability was similarly handled with negative values being unsuitable for agriculture and the optimal corridor being towards the upper quartile of the mean. However, too much water availability was rendered useless due to increased waterlogging vulnerability.
For the soil scores, the FAO attributes were extracted and added based on their chemical and physical characteristics. For example, saline soils (Solonchaks) were interpreted as less suitable for crop production whereas alluvial soils (Fluvisols) or Chernozems were attributed to high fertility and agricultural potential. Using the soil “Qualifier” in combination with the soil unit, the scores were further differentiated, for example into a Salic Fluvisol. Finally, all variables were stacked and weighted using a linear combination as
with a = 0.15, b = 0.15, c = 0.4, d = 0.1 and e = 0.2. The CWB was given a high weight compared to T and terrain characteristics to enhance the power of moisture availability, particularly in the semi-arid northern parts of the study area. The result is a continuous suitability index (0–1), where values close to 1 indicate high agricultural potential under climatic, topographic, and soil characteristics (Figs. 3, and S1–S6).
Yellow River run-off coefficient
Using the Yellow River streamflow reconstruction (800–2000 CE77) based on the tree ring data, a catchment-wide drought and flooding vulnerability model has been worked out. The reconstructions highlight flooding events as well as flow reductions linked to prolonged droughts, particularly in the upstream area of the YRL. To focus on pre-modern natural flow patterns, the annually resolved dataset is first subset to the period between 800 CE and 1900 CE, excluding the impacts of recent human-induced environmental impacts such as dam constructions and water management policies that began to dominate after around 196077. We calculated a restrictive variability threshold based on statistical properties of the year-to-year streamflow differences to reclassify into periods of consistent hydrological characteristics. The combination of the mean and standard deviation (mean-SD/2) of these differences serve as boundaries for dynamic bins, each representing a distinct period of relative uniformity in streamflow. Because a rather restrictive threshold was defined, the binning results in a plethora of bins rather than merging periods with significant variability into chronologies of stable conditions. Eventually, the data was subset to the period of interest from 800 to 907/908 CE (Fig. 4).
Site connectivity models
For the least cost path (LCP) analyzes between administrative sites and military fortifications, three different connectivity models were generated: All single administrative sites were used to calculate individual connectivity patterns, followed by the military sites and a general landscape permeability model based on catchment-wide connectivity (FETE approach, from everywhere to everywhere)100,101 (Figs. S7 and S8). The first step of separating military from administrative sites allows for considering potential effects of the diverse logistics and socio-political motivations or constraints related to movements in each specific context, which are otherwise variables that are difficult to quantify. The DEM was used as an input variable to estimate slope and terrain permeability within the window of operation (the catchment). Second, a custom friction model was created based on the DEM, the flooding vulnerability model (flow accumulation), and a regional coefficient that characterizes all areas with significant aridity based on the aggregated multiannual CWB and a threshold of mean+SD/2 across the catchment. In the model, high slope gradients, high flooding vulnerability/high probability of branching rivers, and high aridity were estimated as less likely for movement, hence a low probability of accessibility was given. Using the r.walk function in the GRASS GIS interface in R via the package rgrass102, LCPs were generated between a set of regularly sampled points (n = 30,000) across the catchment and the target points of military or administrative centers100,101. From each generated LCP, regular points were sampled at an interval of 1000 m. Using operational chunks due to memory efficiency, KDE were carried out (spatstat package103) on the points with a Gaussian Kernel, a sigma of 1000 m and a resolution of 250 m. Finally, all KDEs were summed up to a high probability movement corridor model for military and administrative centers. In a last step, a general connectivity model (FETE) has been worked out, in which target and starting points were taken from the same regularly sampled point pattern with a sample size of n = 1289, resulting in over 1.6 million LCPs across the catchment area. The model visualizes the distribution of potential high movement probability based on terrain, simulated riverbeds, and high aridity and serves as a comparison dataset to test the connectivity patterns of the observed Tang Dynasty sites (Figs. 5, and S7 and S8).
Crop production and supply chain network model
Using similar LCP techniques as previously described, a large-scale supply network between major Tang Dynasty towns and the newly established administrative hubs and military garrisons in the north has been worked out. The additional Tang towns were extracted from CHGIS104,105 (last accessed 05th of April 2025). Both datasets were filtered for chronological start and end year to select only occurrences that already existed in the 9th century CE and until the end of the Tang Dynasty in 907 CE. Point data and polygons were cropped to the watershed of the Yellow River and the Tang Dynasty crop production area reported from82. Using a spatial join, we further selected only those prefectures that had an existing town record and only those towns that were located within a prefecture. A total of 31 towns represents the Tang Dynasty sample. Using a loop in R, the rgrass package and the method described above, we sampled n = 5000 points within each prefecture polygon and created an LCP collection for each point in n targeted at the central town based on the friction raster described above. We equally produced the LCP density with sigma=1000 and sampled points each 1000 m from each linestring (Fig. 3).
Least cost network estimates
We produced a set of weighted FETE LCP collections from the merged administrative sites in the north and the Tang cities. For this, we prepared 53 different input friction surfaces, which were created as described above, however, using the dynamically binned run-off values as coefficients (n = 53). The friction is the combination of normalized topography (DEM), moisture availability (CWB, arid areas), and flooding potential. We normalized the binned mean run-off values for each dry or humid bin and rescaled them to between –0.5 and +0.5 for dry and humid, respectively. Finally, the coefficient was applied to the climatic input variables of the friction as weight. For dry bins, the CWB will be reduced by the factor*1/20 to simulate increased drought conditions. Humid bins enhance the CWB by the same ratio. Finally, the arid areas below the threshold mean+SD/2 of the CWB were calculated for each weighted bin. The flow accumulation was equally weighted to enhance flooding potential during humid bins and reduced flooding during dry bins. This results in 53 different FETE LCP collections of crop supply centers and northern border administrative centers depending on environmental variability during the 9th and early 10th century CE Tang Dynasty. Equally, we computed the weighted LCPs between the administrative centers and the military garrisons.
Network travel time estimates
From these LCP collections, we created 53 networks for crop production centers targeted at the administrative centers and then from there to the military sites via the igraph package in R106. We did not estimate Euclidean distance or the length of the calculated LCPs but estimated the energy expenditure of travelling along the LCPs represented in travelling time. We used the individual accumulative friction raster for each LCP subset, created the slope in radians and applied Tobler’s hiking function107 as
Each LCP linestring was sampled at regular 250-m intervals. At every sampled point, we extracted the slope from the raster to determine local walking speed. Using these speed values, we calculated segment-level travel times and summed them up to get the total estimated time (in hours) for each linestring in each of the 53 LCPs for both collections. An undirected network graph was created where edges were weighted by travel time. To identify the most efficient structure that connects all sites with the least total effort, we computed a MST that connects all nodes without cycles, minimizing the sum of edge weights (travel time). The resulting networks represent those connections that would have offered the most efficient connectivity under the assumption of climatic, topographic, and hydrologic constraints for each binned chronological subset. The most cost-effective network corridors were estimated using a KDE (sigma=1000 m, eps=250 m, gaussian kernel) on the entire collection of network linestrings from the crop production centers to the administrative hubs to the military outposts. We sampled each linestring at 250 m, split the networks into segments, calculated the segment midpoints and applied the density.ppp function from the spatstat package as described above (Fig. 5, upper panel). The total travel times for each connecting string in the networks were added in Fig. 5, middle panel.
Network vulnerability estimates
We further estimated the most-vulnerable/least-sustainable network corridors across the period 800–907/908 CE. Using the sampled midpoints at 250 m distance, we extracted flood risk (successive flow accumulation grid) and drought vulnerability (accumulative CWB grid) raster values. To reduce noise and simulate edge effects of climate influence on larger segments of the networks, the values were smoothed along the linestrings using a rolling mean window with r = 100 cells on each side of the midpoint. Flood and drought smoothed values were normalized, a “flood vs drought bias” metric was computed as norm(flood[i]) - norm(drought[i]). The difference was centered and rescaled to the interval [−1,1] with −1 indicating strong drought dominance and 1 indicating strong flood dominance. A total vulnerability metric was computed by summing normalized flood and drought vulnerability scores. To visualize the result (Fig. 5 lower panel), the total cumulative vulnerability of all 53 weighted networks was computed as an Inverse Distance Weighting interpolation (IDW) via the gstat package108. The resulting cumulative vulnerability map represents long-term transport network resilience and exposure under dynamic hydrological stress across the late Tang dynasty landscape.
Data availability
All data underlying the analyses are freely available from the internet and the sources are cited in the text. Auxiliary data and related files are available from this repository: https://doi.org/10.5281/zenodo.1568811788.
Code availability
Code is available from this repository: https://doi.org/10.5281/zenodo.1715148789. File Code_hydroclimate.R produces the hydroclimate vulnerability model, the SPEI index and the density plots of the supplementary material. File Climate_panel_figure.R produces the panel figure. File Code_land_use_probability.R produces the land-use probability map. The networks and least cost densities are split into several steps: LCP_code_FETE.R; LCP_code_ADMIN.R; LCP_code_MILITARY.R form the supplement least cost figures. The code LCP_code_TANG_within_prefectures.R produces the LCPs within the prefecture and the network among the sites. LCP_code_ALL_sites_and_networks_climatically_weighted.R is the code that provides an example for a climatically weighted LCP and MST using the first of 53 climate bins.
References
Qin, C. et al. Persistent humid climate favored the Qin and Western Han Dynasties in China around 2,200 y ago. Proc. Natl Acad. Sci. USA 122, e2415294121 (2025).
Sun, W. et al. Impact of the centennial changes in ENSO on the rise of the Chinese Qing empire. Npj Clim. Atmos. Sci. 8, 61 (2025).
Chen, Z., Chen, S. & Zhang, J. The Siberian High drove increasing dust storm activity on the Tibetan Plateau on the centennial scale during the past 2000 years. Glob. Planet. Change 240, 104525 (2024).
Dong, J., Shen, C.-C., Kong, X., Wang, H.-C. & Jiang, X. Reconciliation of hydroclimate sequences from the Chinese Loess Plateau and low-latitude East Asian Summer Monsoon regions over the past 14,500years. Palaeogeogr. Palaeoclimatol. Palaeoecol. 435, 127–135 (2015).
Arakawa, M. & Hansen, V. The transportation of tax textiles to the North-West as part of the Tang-Dynasty military shipment system. J. R. Asiat. Soc. G. B. Irel. 23, 245–261 (2013).
Chen, Y., Syvitski, J. P. M., Gao, S., Overeem, I. & Kettner, A. J. Socio-economic Impacts on flooding: a 4000-year history of the Yellow River, China. AMBIO 41, 682–698 (2012).
Intergovernmental Panel On Climate Change (IPCC). Climate Change 2022 – Impacts, Adaptation and Vulnerability: Working Group II Contribution to the Sixth Assessment Report of the Intergovernmental Panel on Climate Change (Cambridge University Press, 2023). https://doi.org/10.1017/9781009325844.
Liu, X. et al. Drought evolution and its impact on the crop yield in the North China Plain. J. Hydrol. 564, 984–996 (2018).
Wang, F. et al. Comprehensive evaluation of hydrological drought and its relationships with meteorological drought in the Yellow River basin, China. J. Hydrol. 584, 124751 (2020).
Wang, Y., Wang, S., Zhao, W. & Liu, Y. The increasing contribution of potential evapotranspiration to severe droughts in the Yellow River basin. J. Hydrol. 605, 127310 (2022).
Wu, D. et al. Assessment on agricultural drought vulnerability in the Yellow River basin based on a fuzzy clustering iterative model. Nat. Hazards 67, 919–936 (2013).
Fan, K. Climate change and Chinese history: a review of trends, topics, and methods. WIREs Clim. Change 6, 225–238 (2015).
Hinsch, B. Climatic change and history in China. J. Asian Hist. 22, 131–159 (1988).
Kempf, M. From landscape affordances to landscape connectivity: contextualizing an archaeology of human ecology. Archaeol. Anthropol. Sci. 12, 174 (2020).
Kempf, M. Modeling multivariate landscape affordances and functional ecosystem connectivity in landscape archeology. Archaeol. Anthropol. Sci. 12, 159 (2020).
Ouyang, H. & Shang, X. Enhancing sustainability in early millet agriculture: manuring practices in the Yellow River Valley. Palaeogeogr. Palaeoclimatol. Palaeoecol. 679, 113283 (2025).
Miller, N. F., Spengler, R. N. & Frachetti, M. Millet cultivation across Eurasia: origins, spread, and the influence of seasonal climate. Holocene 26, 1566–1575 (2016).
Dodson, J. R. et al. Origin and spread of wheat in China. Quat. Sci. Rev. 72, 108–111 (2013).
Spengler, R. et al. Early agriculture and crop transmission among Bronze Age mobile pastoralists of Central Eurasia. Proc. R. Soc. B Biol. Sci. 281, 20133382 (2014).
An, C.-B., Dong, W., Li, H., Chen, Y. & Barton, L. Correspondence regarding “Origin and spread of wheat in China” by Dodson, J. R., Li, X., Zhou, X., Zhao, K., Sun, N., Atahan, P. (2013), Quaternary Science Reviews 72, 108–111. Quat. Sci. Rev. 81, 148–149 (2013).
Leipe, C., Long, T., Sergusheva, E. A., Wagner, M. & Tarasov, P. E. Discontinuous spread of millet agriculture in eastern Asia and prehistoric population dynamics. Sci. Adv. 5, eaax6225 (2019).
Zhou, L. & Garvie-Lok, S. J. Isotopic evidence for the expansion of wheat consumption in northern China. Archaeol. Res. Asia 4, 25–35 (2015).
Zhou, L., Garvie-Lok, S. J., Fan, W. & Chu, X. Human diets during the social transition from territorial states to empire: Stable isotope analysis of human and animal remains from 770 BCE to 220 CE on the Central Plains of China. J. Archaeol. Sci. Rep. 11, 211–223 (2017).
Hou, L. L. & Gu, S. F. Transition of human diets in Datong area, Shanxi, during Northern Wei Dynasty. Bianjiang Kaogu Yanjiu 297, 313 (2018).
Pan, J. The Study of Palaeodietary on Human Bones and Teeth from Gu’an Cemetery of Anyang, Henan Province. (Graduate University of Chinese Academy of Sciences, Beijing, 2009).
Zhang, G., Hou, X., Li, S., Zhou, Y. & Richards, M. P. Agriculturalization of the Nomad-Dominated Empires of the Northern Wei Dynasty in Pingcheng city (398–494 ad): a stable isotopic study on animal and human bones from the Jinmaoyuan cemetery, China. Int. J. Osteoarchaeol. 31, 38–53 (2021).
Dun, G., Zhang, G., Wang, Y. & Jian, H. Agricultural activities inferred by the charred plant seeds at ancient Dahe City, a Tang Dynasty military garrison site, Barkol County, Xinjiang. Quat. Sci. 45, 319–334 (2025).
Schafer, E. H. The Golden Peaches of Samarkand: A Study of T’ang Exotics (University of California Press, Berkeley, 1985).
Spengler, R. N. Fruit from the Sands: The Silk Road Origins of the Foods We Eat (University of California Press, 2019). https://doi.org/10.2307/j.ctvh1dx4s.
Simoons, F. J. Food in China: A Cultural and Historical Inquiry (CRC Press, 2014). https://doi.org/10.1201/9781482259322.
Li, R. et al. Iterative variation of human staples related to climate–society interactions in the North China plain between the 7th and 19th centuries. Archaeol. Anthropol. Sci. 16, 161 (2024).
Li, R. et al. The alteration from agricultural to nomadic regimes resulted in human livelihood transformation in North-Central China during the 12th century: The archaeobotanical evidence. Front. Plant Sci. 13, 978147 (2022).
Zhao, D. et al. A multidisciplinary study on the social customs of the Tang Empire in the Medieval Ages. PLoS ONE 18, e0288128 (2023).
Filipović, D. et al. New AMS 14C dates track the arrival and spread of broomcorn millet cultivation and agricultural change in prehistoric Europe. Sci. Rep. 10, 13698 (2020).
Liu, H., Ge, Q., Zheng, J., Hao, Z. & Zhang, X. Crop yield and temperature changes in North China during 601–900 AD. Adv. Meteorol. 2014, 1–6 (2014).
Su, Fang, Y. & Yin, X. J. Impact of climate change on fluctuations of grain harvests in China from the Western Han dynasty to the five dynasties (206 BC–960 AD). Sci. China Earth Sci. 57, 1701–1712 (2014).
Sheng, P. et al. Human isotopic evidence from the Guanzhong Basin casts light on a century of agricultural and pastoral interactions at medieval metropolitan Chang’an during sixth century AD. Humanit. Soc. Sci. Commun. 10, 204 (2023).
Yang, X. The distribution and components of agricultural economy of Central Shaanxi in Tang Dynasty. J Northwest Univ. Philos. Soc. Sci. Ed. 1, 8 (1986).
Zhang, J. et al. Intensive pastoralism facilitated the rise of the Tang Dynasty in China. Veg. Hist. Archaeobotany https://doi.org/10.1007/s00334-025-01057-4 (2025).
Shao, X. et al. Climatic implications of a 3585-year tree-ring width chronology from the northeastern Qinghai-Tibetan Plateau. Quat. Sci. Rev. 29, 2111–2122 (2010).
Su, Y., Liu, L., Fang, X. Q. & Ma, Y. N. The relationship between climate change and wars waged between nomadic and farming groups from the Western Han Dynasty to the Tang Dynasty period. Clim. Past. 12, 137–150 (2016).
Zhang, D. D. et al. Climatic change, wars and dynastic cycles in China over the last millennium. Clim. Change 76, 459–477 (2006).
Barenghi, M. Military Towns, Colonies, and the Ordos Border Landscape During the Late Tang Period. in The Great Wall of China as a Climate Frontier: Climatic and Historical Perspectives on the Ordos Region (Springer, Cham, Switzerland, 2025).
Li, J. Treatise on the Administrative Units of the Yuanhe Era, 806–820. Vol. 468 (Shanghai Guji Chubanshe, Shanghai, 1993).
Meng Examination of the Tang Dynasty’s West Citadel for Subjugation and its role in the governance of the northern territory. Tang Shi Luncong 28, 95–106 (2019).
Tan, Q. Collection of Historical Maps of China. Vol. 5 (Zhongguo Ditu Chubanshe, 1982).
Yan, G. Examination of Tang transportation maps. (Academia Sinica, Taipei, 1985).
Yu, Q. The Tang West Citadel of Subjugation as a trade hub. Xi Xia Yanjiu 3, 92–98 (2019).
Du, Y. Comprehensive Statutes (Zhonghua Shuju, Beijing, 1988).
Von Glahn, R. The Economic History of China: From Antiquity to the Nineteenth Century (Cambridge University Press, 2016) https://doi.org/10.1017/CBO9781139343848.
Kempf, M., Depaermentier, M. L. C., Luterbacher, J. & Xoplaki, E. Environmental vulnerability and landscape suitability models for the Greater Ordos region. in The Great Wall of China as a Climate Frontier: Climatic and Historical Perspectives on the Ordos Region (Springer, Chams).
Hessl, A. E. et al. Past and future drought in Mongolia. Sci. Adv. 4, e1701832 (2018).
Skaff, J. K. Barbarians at the gates? The Tang frontier military and the An Lushan Rebellion. War Soc. 18, 23–35 (2000).
Wei, Z. et al. Comparison of climatic impacts transmission from temperature to grain harvests and economies between the Han (206 BC–AD 220) and Tang (AD 618–907) dynasties.Holocene 28, 1598–1608 (2018).
Frachetti, M. et al. The dahliagram: An interdisciplinary tool for investigation, visualization, and communication of past human-environmental interaction. Sci. Adv. 9, eadj3142 (2023).
Fan, K. Climatic change and dynastic cycles in Chinese history: a review essay. Clim. Change 101, 565–573 (2010).
Fang, X. Q., Su, Y., Yin, J. & Teng, J. C. Transmission of climate change impacts from temperature change to grain harvests, famines and peasantuprisings in the historical China. Sci. China Earth Sci. 6, 831–842 (2015).
Morris, I. et al. Foragers, Farmers, and Fossil Fuels: How Human Values Evolve (Princeton University Press, Princeton, 2015).
Tainter, J. A. The Collapse of Complex Societies (Cambridge university press, Cambridge, 1990).
Beckwith, C. I. The Tibetan Empire in Central Asia: A History of the Struggle for Great Power among Tibetans, Turks, Arabs, and Chinese during the Early Middle Ages (Princeton University Press, Princeton, N.J, 1993).
Benn, C. D. China’s Golden Age: Everyday Life in the Tang Dynasty (Oxford University Press, Oxford; New York, 2004).
Abdrakhmanov, M. et al. The shifting of buffer crop repertoires in pre-industrial north-eastern Europe. Sci. Rep. 15, 3720 (2025).
Chen, F. et al. Holocene moisture evolution in arid central Asia and its out-of-phase relationship with Asian monsoon history. Quat. Sci. Rev. 27, 351–364 (2008).
Yan, X. et al. Human deforestation outweighed climate as factors affecting Yellow River floods and erosion on the Chinese Loess Plateau since the 10th century. Quat. Sci. Rev. 295, 107796 (2022).
Zhang, Q., Gu, X., Singh, V. P., Kong, D. & Chen, X. Spatiotemporal behavior of floods and droughts and their impacts on agriculture in China. Glob. Planet. Change 131, 63–72 (2015).
Li, T., Li, J. & Zhang, D. D. Yellow River flooding during the past two millennia from historical documents. Prog. Phys. Geogr. Earth Environ. 44, 661–678 (2020).
Angelakιs, A. N. et al. Irrigation of World Agricultural Lands: evolution through the Millennia. Water 12, 1285 (2020).
Li, Y., Storozum, M. J., Jia, X., Wang, X. & Frachetti, M. D. Reconceptualizing water history of Chinese Central Asia: Hydraulic modeling of the early 1st mill. AD irrigation system at Mohuchahangoukou-4 (MGK4), Xinjiang, China. J. Archaeol. Sci. Rep. 33, 102534 (2020).
Wang, Y. Water Rights Structure and Its Economic Explanation: Empirical Study of the Yellow River Basin in Ancient China. in Assessing Water Rights in China 109–135 (Springer Singapore, Singapore, 2018). https://doi.org/10.1007/978-981-10-5083-1_5.
Zeng, W., Ao, C. & Lei, G. History of Irrigation in China: Schedule and Method Development. in Handbook of Irrigation Hydrology and Management 165–176 (CRC Press, Boca Raton, 2023). https://doi.org/10.1201/9781003353928-12.
Graff, D. A. The reach of the military: Tang. J. Chin. Hist. 1, 243–268 (2017).
Ren, Y. The establishment of the Shengzhou Transport Office in the Tang Dynasty — a study of the fragment of the ‘Tang Kaiyuan Water Department Regulations’ from Dunhuang. Jinyang Xuekan 5, 123–125 (2008).
Zhu, K. Tang Dynasty Transportation Map and Movement through the Tang Empire: Frontier Defense, Disposition of Military Administration and Historical Significance (National Taiwan University, 2014).
Twitchett, D. Lands under state cultivation under the T’Ang some Central Asian documents concerning military colonies. J. Econ. Soc. Hist. Orient. 2, 335–336 (1959).
Chen, F. et al. East Asian summer monsoon precipitation variability since the last deglaciation. Sci. Rep. 5, 11186 (2015).
Ding, W., Xu, Q. & Tarasov, P. E. Pollen-based precipitation reconstructions for the last 14.7 kyr in the East Asian summer monsoon margin. 6939 data points PANGAEA https://doi.org/10.1594/PANGAEA.880993 (2017).
Li, J. et al. Deciphering human contributions to Yellow River flow reductions and downstream drying using centuries-long tree ring records. Geophys. Res. Lett. 46, 898–905 (2018).
Tan, M. et al. Cyclic rapid warming on centennial-scale revealed by a 2650-year stalagmite record of warm season temperature. Geophys. Res. Lett. 30, 2003GL017352 (2003).
Yancheva, G. et al. Influence of the intertropical convergence zone on the East Asian monsoon. Nature 445, 74–77 (2007).
Shi, N. Distribution and their transformation of agroforestry and pastoral areas in the Ordos Plateau and the Hetao Plain over the past 2,300 years. J. Beijing Norm. Univ. Soc. Sci. 6, 1–14 (1980).
Wang, S. et al. Reduced sediment transport in the Yellow River due to anthropogenic changes. Nat. Geosci. 9, 38–41 (2016).
Yin, J., Fang, X. & Su, Y. Correlation between climate and grain harvest fluctuations and the dynastic transitions and prosperity in China over the past two millennia. Holocene 26, 1914–1923 (2016).
Festa, M., Guo, Y., Wu, M., Zhang, Q. & Li, S. Faunal exploitation strategies, dietary habits, and social status in Tang Dynasty Chang’an: zooarchaeological insights from Xiajiazhuang. Int. J. Osteoarchaeol. 35, e3369 (2025).
Zhao, H. et al. Contribution of soil erosion to the evolution of the plateau-plain-delta system in the Yellow River basin over the past 10,000 years. Palaeogeogr. Palaeoclimatol. Palaeoecol. 601, 111133 (2022).
Hao, Z. et al. Patterns in data of extreme droughts/floods and harvest grades derived from historical documents in eastern China during 801–1910. Clim. Past 16, 101–116 (2020).
Zhang, R. Changes in East Asian summer monsoon and summer rainfall over eastern China during recent decades. Sci. Bull. 60, 1222–1224 (2015).
R. Core Team. R: A Language and Environment for Statistical Computing (R Foundation for Statistical Computing, 2023).
Kempf, M. Related files to Kempf et al. (2025) Hydroclimatic extremes in northern China contributed to the decline of the Tang Dynasty. Zenodo https://doi.org/10.5281/ZENODO.15688117 (2025).
Kempf, M. Code to Kempf, Michael et al. (2025): Hydroclimatic instability accelerated the socio-political decline of the Tang Dynasty in northern China. In Communications Earth and Environment. zenodo https://doi.org/10.5281/zenodo.17151487 (2025).
Earth Resources Observation and Science (EROS) Center. Global Multi-resolution Terrain Elevation Data 2010 (GMTED2010). U.S. Geological Survey https://doi.org/10.5066/F7J38R2N (2010).
Karger, D. N. et al. Climatologies at high resolution for the Earth’s land surface areas. Sci. Data 4, 170122 (2017).
Hijmans, R. terra: spatial data analysis. R package version 1. 7–46 (2023).
Lindsay, J. B. Whitebox GAT: a case study in geomorphometric analysis. Comput. Geosci. 95, 75–84 (2016).
Wu, Q. & Brown, A. whitebox: ‘WhiteboxTools’ R Frontend. R package version 2.2.0. (2022).
Vicente-Serrano, S. M., Beguería, S. & López-Moreno, J. I. A Multiscalar drought index sensitive to global warming: the standardized precipitation evapotranspiration index. J. Clim. 23, 1696–1718 (2010).
Beguería, S. & Vicente-Serrano, S. M. SPEI: Calculation of the Standardized Precipitation-Evapotranspiration Index R package version 1.8.1. (2023).
Pawley, S. Rsagacmd: Linking R with the Open-Source ‘SAGA-GIS’ Software_. R package version 0.4.2. (2023).
Dijkshoorn, J. A., van Engelen, V. W. P. & Huting, J. R. M. Soil and Landform Properties for LADA Partner Countries (Argentina, China, Cuba, Senegal and The Gambia, South Africa and Tunisia). ISRIC Report 2008/06 and GLADA Report 2008/03, ISRIC – World Soil Information and FAO. http://www.isric.org/isric/Webdocs/Docs/ISRIC_Report_2008_06.pdf (2008).
IUSS Working Group W. R. B. World Reference Base for Soil Resources: International Soil Classification System for Naming Soils and Creating Legends for Soil Maps. 4th Edn, International Union of Soil Sciences (IUSS). https://www.isric.org/sites/default/files/WRB_fourth_edition_2022-12-18.pdf (2022).
Bilotti, G., Kempf, M. & Morillo Leon, J. M. Modelling land and water based movement corridors in the Western Mediterranean: a least cost path analysis from chalcolithic and early bronze age ivory records. Archaeol. Anthropol. Sci. 16, 122 (2024).
Kempf, M. & Denis, S. Resource dependency and communication networks in Early Neolithic western Europe. Quat. Environ. Hum. 2, 100014 (2024).
Bivand, R. rgrass: Interface Between ‘GRASS’ Geographical Information System and ‘R’. R package version 0.3-9. (2023).
Baddeley, A., Rubak, E. & Turner, R. Spatial Point Patterns: Methodology and Applications with R (CRC Press, Taylor & Francis Group, Boca Raton, London, New York, 2016).
CHGIS. V6 Time Series Prefecture Polygons. 31098883, 30720236, 1093219, 30722275, 31096825, 31096134, 30719545, 31098173, 30721584 Harvard Dataverse https://doi.org/10.7910/DVN/I0Q7SM (2016).
CHGIS. V6 Time Series Prefecture Points. 282615, 288343, 288578, 282850, 4937707 Harvard Dataverse https://doi.org/10.7910/DVN/WW1PD6 (2016).
Csárdi, G. et al. igraph for R: R interface of the igraph library for graph theory and network analysis. Zenodo https://doi.org/10.5281/ZENODO.7682609 (2025).
Tobler, W. Three Presentations on Geographical Analysis and Modeling: Non-Isotropic Geographic Modeling; Speculations on the Geometry of Geography; and Global Spatial Analysis (1993).
Pebesma, E. J. Multivariable geostatistics in S: the gstat package. Comput. Geosci. 30, 683–691 (2004).
Ding, W., Xu, Q. & Tarasov, P. E. Examining bias in pollen-based quantitative climate reconstructions induced by human impact on vegetation in China. Clim. Past 13, 1285–1300 (2017).
Acknowledgements
M.K.’s research at Basel and Cambridge is funded by the Swiss National Science Foundation (SNSF/SNF): Project EXOCHAINS - Exploring Holocene Climate Change and Human Innovations across Eurasia (SNSF grant number: TMPFP2_217358). Open access publication is funded by the Swiss National Science Foundation (SNSF/SNF) and M.K.’s project EXOCHAINS. E.X. acknowledges support from the ERC Synergy project EUROpest under Grant Agreement number 101166700. F.C., E.X., J.L., M.F., acknowledge the Association for Trans-Eurasia Exchange and Silk-Road Civilization Development (ATES). We thank Zhuangzhuang Bai for comments.
Author information
Authors and Affiliations
Contributions
M.K. designed the study, generated the code, performed the analyses, created the figures, and wrote the paper with input from M.D., R.S., M.F., F.C., J.L., E.X., and U.B. All authors consent to the final version of the paper.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Communications Earth and Environment thanks the anonymous reviewers for their contribution to the peer review of this work. Primary Handling Editors: Ola Kwiecien, Martina Grecequet, Aliénor Lavergne [A peer review file is available].
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Kempf, M., Depaermentier, M.L.C., Spengler III, R.N. et al. Hydroclimatic instability accelerated the socio-political decline of the Tang Dynasty in northern China. Commun Earth Environ 6, 1003 (2025). https://doi.org/10.1038/s43247-025-03038-x
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s43247-025-03038-x







