Introduction

The goal of agriculture is to produce food, pasture, fibers, and energy sources stably and in high volume, while minimizing environmental impacts [1]. The services and processes of agricultural ecosystems largely depend on soil microbiota, which influence nutrient cycling, organic matter decomposition, and plant health and disease [2, 3]. Manipulating microbiota or introducing beneficial microorganisms to construct a simplified synthetic community can significantly improve fertilizer use efficiency and crop disease resistance, thereby increasing crop yield and decreasing environmental impacts [4]. While the contributions of soil microbiota to ecosystem functionality [5] and services [6] have been widely acknowledged, it is still unclear how soil microbiota influence ecosystem productivity. Such knowledge is particularly important to establish sustainable agriculture with high crop yields and low environmental impacts.

Fertilizer application (i.e., fertilization) is the most commonly used management practice in agroecosystems. The combined application of chemical and organic fertilizers is an effective way to reduce pollution and ecological risks, and boost the productivity of agricultural crops [7, 8], and such effects are mainly regulated by changes in microbial community composition [8,9,10]. For example, Liu et al. [8]. showed that the combined application of chemical and organic fertilizers increased rice yield by reducing soil acidification, increasing soil urease and catalase activities, improving soil nutrient levels, and influencing soil microbial communities (e.g., increasing the relative abundance of Bacillus and Flavobacterium). However, the current understanding of the response of soil microbiomes to fertilization remains inconclusive. Although fertilization can increase microbial diversity by increasing soil nutrients [11], overfertilization-induced excessive nutrient or organic fertilizer application-induced enrichment of antibiotics and resistance genes could reduce microbial diversity [12, 13]. Additionally, some studies reported no significant changes in the diversity, composition or activity of soil microbial community after fertilization [14,15,16].

Such contrasting results are largely due to variations in soil type and climate, which can change the habitats for soil microorganisms [17,18,19]. Generally, different soil types and climates have distinct microbial communities due to their contrasting physicochemical properties, substrate availability, and vegetation [19], which impact the responses of soil microbial communities and functions to fertilization. For example, a previous study showed that chemical fertilizers significantly changed the bacterial community composition in a black and high-fertility soils (Mollisol) and a red and low-fertility soil (Ultisol) but not in a moderately weathered and developed soil (Inceptisol) [16]. Jiao et al. [18]. reported a strong turnover of the soil microbial community in dryland maize soils along the climatic gradient across the continental scale in eastern China. Additionally, vegetation can lead to differences in root exudates, nutrient uptake capacity, litter quality and enzyme activities, causing variations in soil microbial community composition [20, 21], which further complicates the analysis of fertilization effects on soil microbiomes. Currently, it is still unclear how the effects of fertilization on soil microbiomes vary by cropping system due to the lack of comparative analysis among various cropping systems within the same soil type and climate [10], while such a comparison could effectively eliminate the influence of soil type and climate.

Including various crop species, especially legumes, into a cropping system has been proven to be effective in promoting soil ecological function and sustainable crop yield by improving soil structure [22], increasing nutrient availability [23] and microbial diversity [24], reducing soil-borne diseases [21] and enhancing pollution remediation [25, 26]. Leguminous crops are capable of associating with N fixing microbes and releasing amino acids, organic acids, phenolics, and flavonoids to the surrounding soil, which can directly stimulate microbial growth [10, 27] and nutrient cycling [28]. Generally, continuous cultivation of a single crop might result in a decrease in soil quality due to an imbalance of nutrient elements, depletion in enzymatic activities and beneficial microorganisms, enrichment in pathogenic microorganisms, and accumulation of autotoxins during decomposition of crop residues, which ultimately lead to destabilization in soil microbial communities [29]. In contrast, rotations with various crop species promote belowground nutrient transfer (e.g., soil legacy effects) and increase the quality and quantity of substrates and chemically diverse rhizodeposits, which could enhance the growth of plant growth-promoting microorganisms [21, 27]. Because of the microbial symbiotic N fixation and thus the higher soil N levels in legume cropping systems compared with the non-legume cropping systems, we hypothesized that fertilization has contrasting effects on soil microbiomes and their associations with soil properties between legume and non-legume cropping systems, given the important role of N in regulating soil microbiomes.

To test this hypothesis, we examined the effects of long-term fertilization on soil bacterial communities and functionality in three contrasting cropping systems in a highland region. These cropping systems were continuous alfalfa, continuous winter wheat, and grain-legume rotation systems. Each cropping system received chemical and manure fertilizers for 36 years. We collected soil samples from the 0–20 cm soil layer for the measurement of nutrients and microbial activity. We also measured soil bacterial diversity, composition and co-occurring network complexity by using 16S rRNA gene amplicon sequencing. Associations among soil nutrients, bacterial community and plant biomass or crop yield in each cropping system were further analyzed. We aimed to address the following questions: (1) How does long-term fertilization affect soil microbiomes in legume vs. non-legume cropping systems? (2) Does the association between soil nutrients and microbial community vary between legume and non-legume cropping systems? (3) How are soil nutrients and the microbial community related to the productivity of highland agroecosystems?

Materials and methods

Study area

The long-term fertilization experiment was established in September 1984 in Changwu County, Shaanxi Province (35°12′N, 107°40′E, 1200 m ASL), China (Fig. 1a). The study area is characterized by warm temperate semi-humid continental climate, with a mean annual temperature of 9.2 °C, and a mean frost-free period of 171 days. The mean annual precipitation is 578 mm, with most of the precipitation occurring from July to September. The study site was located in a flat area without any erosion. The soil was classified as a Calcaric Regosol according to the FAO/UNESCO system. The soil texture was clay loam, with contents of >0.02, 0.02–0.002, and <0.002 mm particles of 38%, 38%, and 24%, respectively [30].

Fig. 1: Schematic diagram of the experimental design.
figure 1

a Geographic locations of the study sites. b Three selected cropping systems in this study. We collected soil samples from a 36-year experiment under diversified cropping systems (i.e., continuous leguminous alfalfa (AC), continuous winter wheat (WC), grain-legume rotation (GLR)) and long-term fertilization (i.e., unfertilized control (CK), phosphorous (P), P and nitrogen (NP) and nitrogen + phosphorus + manure (NPM)) in highland agroecosystems of the Loess Plateau, China.

Cropping systems and fertilization experiment design and management

The experiment involved various cropping systems and fertilization treatments (Fig. 1). The cropping systems included a continuous leguminous alfalfa (Medicago sativa L.) system (AC), a continuous winter wheat (Triticum aestivum L.) system (WC), and a grain-legume rotation (GLR) system with a 3-year planting sequence of winter wheat - millet (Panicum miliaceum L.) - pea (Pisum sativum L.) - winter wheat [30]. The fertilization treatments included the unfertilized control (CK), phosphorus (P), P and nitrogen (NP), and NP and manure fertilizers (NPM). The WC and GLR systems received all the four fertilization treatments, while the AC system received the CK, P and NPM treatments. The plot (10.3 m × 6.5 m) for each combination of cropping system and fertilization treatment was randomly designed, with three replicates.

The P, N and manure were derived from calcium superphosphate, urea and composted cattle manure (a mixture of 2.3:1 ratio of manure to soils), respectively. The P, N, and manure fertilizers were applied at rates of 26 kg P ha−1 yr−1, 120 kg N ha−1 yr−1 and 75 Mg manure ha−1 yr−1 (dry weight), respectively, for all fertilizer treatments. On a dry weight basis, the manure contained soil organic C (SOC), total N (TN), total P (TP), available N, and available P (OP) contents of 17.68 g kg−1, 1.97 g kg−1, 0.97 g kg−1, 91 mg kg−1, and 115 mg kg−1, respectively, and the C input from manure was 1.3 Mg ha−1 yr−1. The NPM treatment supplied 98.8 kg P ha−1 yr−1, 267.8 kg N ha−1 yr−1, and 126.8 kg available N ha−1 yr−1 [30].

The management of the long-term fertilization experiment was the same as that of the local farmland. Fertilizers were applied on the surface before sowing, and then the soil was plowed twice with a cattle-drawn moldboard to a depth of about 20 cm. Wheat and peas were sown in rows 25 cm apart, and alfalfa and millet were broadcast. The winter wheat variety was Changwu 134, the alfalfa and millet were native varieties, and the pea variety was white pea [30]. In 1984, alfalfa was sown by broadcasting at a seeding rate of 7.5 kg ha−1, and then fertilizers were surface-applied in mid-April each year since 1984, followed by shallow tillage of the soil with a moldboard plow to a depth of about 10 cm. Alfalfa was harvested for hay in early June and mid-August each year. Winter wheat (187.5 kg ha−1), peas (187.5 kg ha−1) and millet (62.5 kg ha−1) were sown in mid-September, mid-March and early July, respectively. The aboveground biomass (including straw and grains) of winter wheat, peas, and millet was harvested and removed from the subplots in late June, early July, and early October, respectively. The weeds were removed by hand in all cropping systems throughout the growing season. The crop productivities, including aboveground biomass for AC system and grain yield for WC and GLR systems, were measured annually as described previously [30].

Soil sampling and laboratory analysis of soil properties

In July 2020, we established two subplots (4 m ×5 m) in each plot for soil sampling. In each subplot, soil samples were collected from 0–20 cm depth by randomly taking 5 cores by using a tubular auger (diam. 9.0 cm) and mixing them to make a composite sample. A total of 66 composite soil samples were collected and transported to the laboratory. The soil samples were passed through a 2-mm sieve to remove the roots. There were no stones in the soils. All composite soil samples were divided into four parts: one for the measurement of soil moisture, available N, and potential soil respiration (stored at 4 °C); one for the measurement of soil physicochemical properties (air-dried and stored at room temperature); one for the measurement of soil enzyme activities (stored at −20 °C), and one for microbial community analysis (stored at −80 °C).

The measurement of soil physiochemical properties was performed as described previously [31]. Soil moisture was measured by weighing after oven-drying the soil at 105 °C for 24 h. Soil ammonium (NH4+) and nitrate (NO3-) were extracted by shaking the soil with 2 mol L−1 KCl and determined by a continuous flow analyzer (Auto-Analyzer-AA3, Seal Analytical, Norderstedt, Germany). The soil SOC and TN concentrations were determined using the dichromate oxidation method and Kjeldahl method, respectively. The soil OP was determined via the Olsen method. The soil pH was measured by a glass electrode meter (InsMark™ IS126, Shanghai, China) at a 1/2.5 soil-water (w/v) suspension.

Soil enzyme activities and potential soil respiration

The activities of soil enzymes involved in C, N and P acquisition were determined using the microplate-scale fluorometric method [32, 33]. The C-acquisition enzymes analyzed included β−1,4-glucosidase (BG), 1,4-β-D-cellobiohydrolase (CBH) and β-xylosidase (BX). The N-acquisition enzymes analyzed were β−1,4-N-acetylglucosaminidase (NAG) and L-leucine aminopeptidase (LAP), while the P-acquisition enzyme analyzed was alkaline phosphatase (AP). Soil enzyme activities were expressed as nmol g−1 dry soil h−1. Soil enzyme activities were summed to estimate the total C- acquisition enzymes (EEC = BG + CBH + BX), N- acquisition enzymes (EEN = NAG + CBH), and P- acquisition enzymes (EEP = AP).

The potential soil respiration was determined by using the aerobic incubation method [34]. Before incubation, the moisture content of each of the composite soil samples was adjusted to 60% field moisture capacity. The soil was then acclimatized for one week. Thirty-gram aliquots (n = 3) of these soil samples were incubated at 25 °C in a 250-ml screw capped sealed jar in the dark for 30 days. Soil moisture was kept constant by weighing throughout the incubation period. The amount of CO2 released from the soil was trapped by 1 mol L−1 NaOH solution and measured by titration with 0.5 mol L−1 HCl at 1, 3, 7, and 14 days of incubation. The cumulative SOC mineralization (Cmin, mg CO2 kg−1) was calculated by summing the total amount of CO2 released from the soil during the incubation period. The z-score values for the soil enzyme activities (EEC, EEN and EEP) and the potential soil respiration were averaged to characterize soil microbial activity [35, 36].

DNA extraction, sequencing and bioinformatics analysis

Total soil DNA was extracted from 0.5 g soil by using a FastDNA Spin Kits (MP Biomedicals, Solon, OH, USA) according to the manufacturer’s instructions. The primers 341F (5′-CCTAYGGGRBGCASCAG-3′) and 806 R (5′-GGACTACHVGGGTWTCTAAT-3) were used to amplify the V3-V4 regions of the 16S rRNA gene. The PCR program included an initial denaturation at 98 °C for 1 min, 30 cycles of denaturation at 98 °C for 10 s, annealing at 50 °C for 30 s, and extension at 72 °C for 30 s, followed by a final extension at 72 °C for 5 min. The amplified products were purified and tagged with Illumina sequencing adaptors by using a Qiagen Gel Extraction Kit (Qiagen, Germany), The tagged amplicons were purified, quantified, pooled and sequenced on an Illumina NovaSeq platform with 250-bp pair-end sequencing at the Novogene Company, Beijing, China.

Sequences were trimmed, quality filtered, demultiplexed, and used to identify amplicon sequence variants (ASVs) by using the DADA2 program [37] on the QIIME2-2020.11 platform [38]. We only used the forward reads that were truncated at position 220 bp for bioinformatics analysis, as the low sequencing quality near the 3’ end of the reads would greatly reduce the number of successfully assembled reads. The SILVA 138 database and Naïve Bayes classifier were used for taxonomic classification. We subsequently removed singletons, chloroplast and mitochondrial sequences to obtain a total of 4,182,288 high-quality sequences (range 38,463–87,256; median 64,092 sequences per sample). Rarefaction curves indicated that the sequencing depth had reached saturation (Supplementary Fig. S1). The ASV feature table was rarefied to minimum sequences (i.e., 38463) across all samples for downstream analysis.

Statistical analysis

All statistical analyses were performed in R language version 4.1.0 (v4.1.0; http://www.r-project.org/). Differences in soil properties, α-diversity, microbial activities and crop productivity were assessed by linear mixed effect models, where cropping system and fertilization regime were included as fixed effects, and replicate plot was considered as a random effect using lme4 and lmerTest packages [39]. The assumptions of homoscedasticity and normality of the residuals were examined via the Shapiro–Wilk test and residual versus fitted plots, respectively. When these assumptions were not satisfied, the data were log or square root transformed. The Wilcox rank sum test was used to determine significant effects at the P < 0.05 level. Venn diagrams were generated to show the numbers of shared and unique ASVs. Principal coordinate analysis (PCoA) based on Bray–Curtis distance and permutational multivariate analysis of variance (PERMANOVA) were performed using the vegan package [40] to assess the variations in bacterial communities. The distance-based redundancy analyses (dbRDA) were used to assess the relationship between the bacterial communities and soil properties.

Differential abundance analyses were performed, using the DESeq2 negative-binomial Wald test [41] and Benjamini Hochberg’s correction [42], to identify the ASVs with increased or decreased relative abundance under the fertilization conditions (i.e., fertilization-responsive/sensitive ASVs) for each cropping system. Similarly, ASVs with increased or decreased relative abundances under specific cropping system were identified for each fertilization regime. We also identified the core taxa present in bacterial communities across all cropping systems and fertilization treatments. The ASVs that occurred in all samples (taxa with an occurrence prevalence of 100%) were defined as the core taxa [43], and they might also represent potentially important players present in all cropping systems and fertilization treatments.

Co-occurring bacterial networks for each cropping system were constructed to infer potential associations of the bacterial community using the program Sparse Correlations for Compositional data (SparCC) [44], considering that the amplicon-based datasets were compositional (zero-inflated data). Taxa with an average relative abundance greater than 0.01% were used for correlation calculation. The correlations with r > 0.65 and false discovery rate <0.05 were used for network construction. The 1000 Erdӧs-Réyni random networks were constructed for comparison with the real network. Furthermore, the network properties of each sample were calculated using the subgraph function in the igraph package [45]. The Wilcox test was used to determine significant differences among treatments at the P < 0.05 level. Network robustness was evaluated by normalized natural connectivity. Although correlation networks do not necessarily represent the real biological interactions between species, they can provide valuable insights into species co-occurrence patterns and elucidate the mechanisms driving their community assembly [46,47,48].

Mantel analysis was used to explore the relationships among soil properties, microbial activity, crop productivity and bacterial communities based on all, core and fertilization-responsive datasets by using the linkET package (https://github.com/Hy4m/linkET). Random forest and variance partitioning analyses were also done to evaluate the relative effects of soil properties, and core and fertilization-responsive communities on microbial activity and crop productivity by using the rfPermute packages [49] and the vegan package. The tuneRF function was used to train a series of models to detect the optimal mtry values (number of variables randomly sampled as candidates at each split), which were used to re-run the subsequent forest models. The tuneRF function is a specific utility to tune the mtry parameter based on out-of-bag error [50, 51].

Piecewise structural equation models (SEMs) were constructed to examine the direct and indirect effects of changes in soil nutrients (=significant outputs from the random forest analysis) and core or responsive communities on microbial activity and crop productivity after long-term fertilization in each cropping system. Each piecewise model was constructed using a linear mixed-effects model with replicate plots as random effects. The microbial activity data were log-transformed to meet the normality assumption and all the variables were standardized for the effects to be directly comparable [52]. The full models containing all potential paths of the prior models were tested (Supplementary Fig. S2). The models were modified by removing insignificant direct and indirect paths when the initial models did not produce an adequate fit. Shipley’s d-separation test was used to examine whether any paths were missing from the model [53]. We reported the standardized coefficient for each path from each component model, and the Fisher’s C statistics, AIC and BIC values, conditional R2 (Rc2) and marginal R2 (Rm2) of the overall model obtained by using the piecewiseSEM package [54].

Results

Soil properties, microbial activity and crop productivity

Cropping system significantly influenced most soil physicochemical properties and microbial activity (P < 0.05, Table 1). The AC system had the highest SOC, TN, C/N, NH4+, NO3, EEC, EEN, EEP and microbial activity but the lowest OP averaged across fertilization treatments (Table 1). In addition, wheat yield was significantly higher in the GLR system than in the WC system (Supplementary Fig. S3).

Table 1 Effects of fertilization and cropping system on soil properties, microbial activity and crop productivity.

The P treatment increased OP but had minimum effects on the other soil properties in the three systems. Additionally, the P treatment increased crop productivity in the AC and GLR systems but decreased it in the WC system. The NPM treatment significantly increased soil nutrients (SOC, TN, NO3), EEP, microbial activity, and crop productivity (AC, WC and GLR). Additionally, such increases were greater in the WC and GLR systems than the AC system (Table 1).

In our experiment, only the WC and GLR systems received the NP treatment. In both systems, the NP treatment significantly increased soil available N and P and microbial activity but had minimum effects on the other soil properties.

Soil bacterial community diversity and composition

The observed number of ASVs and Shannon and Chao1 index values were significantly larger in the AC and WC soils than in the GLR soils when comparing CK and NPM treatments (Fig. 2a). Additionally, when examined either across or within fertilization treatments, the number of unique bacterial ASVs in soils was always largest in the AC system and lowest in the GLR system (Supplementary Fig. S4a).

Fig. 2: Variation in soil bacterial communities induced by cropping system and long-term fertilization.
figure 2

a Bacterial species richness and diversity as estimated by the Observed, Shannon and Chao1 indexs. b Principal coordinates analysis (PCoA) plot based on Bray–Curtis distance as affected by cropping system, fertilization and their interactions. c PCoA plot based on Bray–Curtis distance as affected by fertilization in each cropping system. d The relative abundances (%) of major taxonomic groups at the bacterial phyla level. Legend: AC continuous alfalfa system, WC continuous wheat system, GLR grain-legume rotation system, CK unfertilized control, P phosphorus, NP nitrogen + phosphorus, NPM nitrogen + phosphorus + manure. The uppercase letters indicate significant differences among different cropping systems under the same fertilization treatment, whereas the lowercase letters indicate significant differences among different fertilization treatments under the same cropping system. Significant differences were assessed by the Wilcox rank sum test at the p < 0.05 level.

The effects of fertilization on soil microbial diversity varied significantly by cropping system. While the observed number of ASVs, Shannon and Chao1 index values were not different by fertilization in the WC system, these values generally increased and decreased in the AC and GLR systems, respectively (Fig. 2a). The effect of the NPM treatment on microbial diversity was greater than that of the P and NP treatments in all three cropping systems. Similarly, the number of unique ASVs was the largest in the NPM treatment in the AC and WC systems, but was the lowest in the NPM treatment in the GLR system (Supplementary Fig. S4b).

The ASVs in the studied soils were assigned to 38 unique phyla. On average, Proteobacteria (25.9%), Acidobacteriota (21.5%), Actinobacteriota (13.9%), Gemmatimonadota (13.6%) and Bacteroidota (4.4%) accounted for more than 79% of the total sequence reads (Fig. 2). Principal coordinates (PCoA) and PerMANOVA analyses showed that soil bacterial communities were significantly different by cropping system (R2 = 0.191, P < 0.001), fertilization (R2 = 0.106, P < 0.001) and their interaction (R2 = 0.089, P < 0.001) (Fig. 2b). In each cropping system, soil bacterial communities varied significantly by fertilization treatment (R2 = 0.238–0.272, P < 0.001, Fig. 2c, Supplementary Tables S1 and S2).

Variations in the core and fertilization-responsive taxa among cropping systems

Long-term fertilization did not affect the relative abundance of the 24 core taxa in the three cropping systems (Supplementary Fig. S5). The number of fertilization-responsive ASVs, identified by the DESeq2 analysis using the control (CK) treatment as the reference, was smaller in the P and NP treatments (4–129) as compared with the NPM treatment (166–263) (Fig. 3). However, the effects of fertilization on the relative abundance of these ASVs varied by cropping system. For the AC system, 20 and 106 ASVs were enriched in the P and NPM treatments, whereas, 19 and 60 ASVs were depleted, when compared with CK. For the WC system, 1, 9 and 120 ASVs were enriched in the P, NP and NPM treatments, respectively, whereas, 3, 13 and 98 ASVs were depleted. For the GLR system, 10, 31 and 68 ASVs were enriched in the P, NP and NPM treatments, whereas, 32, 98 and 195 ASVs were depleted. Such variations among cropping systems were particularly true for the NPM treatment (Fig. 3a–i). In addition, the numbers of unique and shared crop system-responsive ASVs increased from CK to P to NPM treatment (Fig. 3j–l).

Fig. 3: Responses of microbes to fertilization in each cropping system or to cropping system under each fertilization treatment.
figure 3

The number of differentially abundant ASVs was identified using the DESeq2 package (FDR < 0.05, Supplementary Table S3) using the unfertilized treatment as a control in the AC (ac), WC (df) and GLR (gi) systems, or using a specific cropping system as a control under the CK (j), P (k) and NPM (l) treatments. “Enriched” and “depleted” ASVs indicated that they were more and less abundant, respectively, in the specific fertilization treatment than in the unfertilized treatment. The three figures from left to right (i.e., ac) showed the phylogenetic tree of fertilization-sensitive ASVs, the number of shared/unique fertilization-sensitive ASVs among different fertilization treatments, and the taxonomic attributes of sensitive ASVs responding to NPM treatment, respectively. Legend: AC continuous alfalfa system, WC continuous wheat system, GLR grain-legume rotation system, CK unfertilized control, P phosphorus, NPM nitrogen + phosphorus + manure. Detailed results are presented in Supplementary Table S3.

The fertilization-responsive taxa were mainly affiliated with the phyla Proteobacteria, Acidobacteriota, Actinobacteriota, Gemmatimonadota and Firmicutes (Fig. 3). However, such fertilization-responsive taxa were cropping-system dependent. In the AC system, taxa whose relative abundance at the family level increased in the NPM treatment (i.e., NPM-enriched taxa) included Pyrinomonadaceae, Gemmatimonadaceae, Enterobacteriaceae, Frankiaceae, Nitrospiraceae and Solirubrobacteraceae, whereas those taxa that decreased in abundance in the NPM treatment (i.e., NPM-depleted taxa) included Comamonadaceae, Lachnospiraceae and Haliangiaceae (Supplementary Tables S3 and S4). In the WC system, NPM-enriched taxa included the families Xanthobacteraceae, Xanthomonadaceae, Hymenobacteraceae, Rhodospirillaceae, Rhodobacteraceae, Oxalobacteraceae, Rhizobiaceae, and Nocardioidaceae, whereas NPM-depleted taxa included Acidiferrobacteraceae, Lachnospiraceae, Roseiflexaceae, Solibacteraceae and Coriobacteriaceae (Supplementary Tables S3 and S4). In the GLR system, NPM-enriched taxa included BIrii41, Microscillaceae, Rhizobiaceae, S0134_terrestrial_group, BD2–11_terrestrial_group and Streptomycetaceae, whereas NPM-depleted taxa included Clostridiaceae, Erysipelotrichaceae, Haliangiaceae, Helicobacteraceae, Latescibacterota, Phormidiaceae, Rhodobacteraceae, Rokubacteriales, and Solirubrobacteraceae (Supplementary Tables S3 and S4).

Bacterial co-occurrence network patterns

The degree of nodes for the co-occurring network in each cropping system exhibited a power-law distribution, indicating scale-free and non-random distribution patterns (Supplementary Fig. S6). The AC system had a more complex and connected network than the GLR and WC systems (Fig. 4a–c and Supplementary Fig. S7). Moreover, the network robustness was greater in the AC system than in the GLR and WC systems (Fig. 4d).

Fig. 4: Bacterial co-occurrence networks.
figure 4

a The bacterial co-occurrence networks in the AC, WC and GLR systems. Nodes represent individual ASVs; the size of each node is proportional to the degree of the node; nodes were colored according to core, fertilization-sensitive and other taxa. b Frequency of connections among the three types of nodes in each network. c The proportion and taxonomy of core, fertilization-sensitive and other nodes included in each co-occurrence network. Portion of nodes not included in the network is also reported (white portion of bars). d Co-occurrence network robustness was represented by normalized natural connectivity. e Node-level topological features of core, sensitive and other taxa, including the degree and betweenness centrality in each network. f The core network, which was the relationships between core ASVs and the ASVs they recruited (nodes connected to the core ASVs) in each cropping system. g Core network robustness was represented by normalized natural connectivity. Legend: AC continuous alfalfa system, WC continuous wheat system, GLR grain-legume rotation system. Asterisks denote significant differences based on the Wilcoxon rank sum tests. *p < 0.05, **p < 0.01 and, ***p < 0.001.

The variations in the parameters of the co-occurring network among fertilization treatments were also cropping-system dependent (Supplementary Fig. S7). For example, fertilization significantly increased the number of nodes and edges, degree of co-occurring network in the AC system; whereas it did not significantly influence these network properties in the WC and GLR systems (Supplementary Fig. S7). Moreover, such effects were greater in the NPM treatment than in the P and NP treatments.

The core and responsive nodes had significantly larger degrees and betweenness centrality than the other nodes in the three cropping systems (Fig. 4e). Moreover, the co-occurring network in the GLR system had more connections to the core taxa (core-core, core-responsive, and core-other taxa) than that in the AC system (Fig. 4b). The network of core taxa was more complex and robust in the GLR system than in the WC and AC systems (Fig. 4f, g). These results suggest that the core and responsive taxa play important roles in maintaining the association and robustness of soil bacterial communities, although such roles vary by cropping system.

Relationship among soil properties, bacterial communities, microbial activities, and crop productivity

The dbRDA and random forest analyses showed that soil bacterial communities were mostly affected by soil OP and N/P in the AC system, but by SOC, TN and NO3- in the WC and GLR systems (Fig. 5). Moreover, soil properties (e.g., SOC, TN, NO3-, OP), core and responsive communities (e.g., first components of PCoA and relative abundance) contributed significantly to predicting soil microbial activities and crop productivity in each cropping system (Fig. 6 and Supplementary Figs. S8 and S9). For example, microbial activities and crop productivity were positively correlated with the relative abundance of responsive taxa in the AC (e.g., Pyrinomonadaceae, Gemmatimonadaceae, Enterobacteriaceae, Frankiaceae and Solirubrobacteraceae), WC (e.g., Xanthomonadaceae, Xanthobacteraceae, Hymenobacteraceae, Rhodospirillaceae, Rhodobacteraceae, Oxalobacteraceae, Rhizobiaceae and Nocardioidaceae) and GLR (e.g., BIrii41, Microscillaceae, Rhizobiaceae and Streptomycetaceae) systems (Supplementary Table S3 and Supplementary Fig. S9). Therefore, core and responsive taxa are important in maintaining soil microbial activities as well as crop productivity in the highland agroecosystem studied.

Fig. 5: Changes in soil bacterial communities driven by soil physicochemical properties.
figure 5

a Relationships between the bacterial community composition and soil properties in each cropping system as assessed by distance-based redundancy analyses (dbRDA) based on Bray–Curtis dissimilarity. Sample points are colored according to the different fertilization treatments. b Random forest showing the relative importance of soil properties in predicting the bacterial community composition (first axis of principal coordinates analysis) in each cropping system. The predictor importance is reported by the percentage increase in mean square error (MSE). Legend: AC continuous alfalfa system, WC continuous wheat system, GLR grain-legume rotation system, CK unfertilized control, P phosphorus, NP nitrogen + phosphorus, NPM nitrogen + phosphorus + manure, SOC soil organic carbon, TN total nitrogen, C/N ratio of carbon to nitrogen, OP available phosphorus, NH4+ ammonium, NO3 nitrate, N/P ratio of mineral nitrogen to available phosphorus, SM soil moisture, pH soil pH (H2O).

Fig. 6: Linking soil physicochemical properties, and bacterial communities to microbial activity and crop productivity in each cropping system.
figure 6

a Mantel test examining the relationship between soil properties, microbial activity, crop productivity and the compositions of all, core and fertilization-sensitive communities (PCoA1 and PCoA2, first and second axis of principal coordinates analysis) in each cropping system. b Random forest showing the relative importance of soil properties, compositions of core and fertilization-sensitive communities (PCoA1 and PCoA2) in predicting the microbial activity and crop productivity. The predictor importance is reported by the percentage increase in mean square error (MSE). Legend: AC continuous alfalfa system, WC continuous wheat system, GLR grain-legume rotation system, SOC soil organic carbon, TN total nitrogen, C/N ratio of carbon to nitrogen, OP available phosphorus, NH4+ ammonium, NO3 nitrate, N/P ratio of mineral nitrogen to available phosphorus, SM soil moisture, pH soil pH (H2O), Abundance cumulative relative abundance core or sensitive taxa, PCoA1 and PCoA2 first and second axis of principal coordinates analysis based on core or fertilization-sensitive community.

We further used SEM to clarify the direct and indirect effects of soil nutrients on microbial activities and crop productivity (Fig. 7). Soil microbial communities were affected by OP in the AC system, but by SOC and NO3 in the WC and GLR systems. Soil microbial activities were directly influenced by SOC in the AC and GLR systems, and indirectly influenced by SOC by altering microbial communities in the WC system. The crop productivity in the AC system was affected directly by NO3- and indirectly by OP through the changes in microbial communities (i.e., responsive communities). The crop productivity in the WC and GLR systems was only indirectly affected by SOC and NO3 through the changes in microbial communities. These results highlighted the important role of fertilization-responsive communities in regulating the effects of fertilization on crop productivity in these highland agroecosystems.

Fig. 7: Linkages between soil bacterial communities and microbial activity or crop productivity in various cropping systems.
figure 7

Direct and indirect drivers of soil microbial activity and crop productivity in the AC (a), WC (b) and GLR (c) systems. The piecewise structural equation model assessing the direct and indirect effects of soil properties and bacterial community composition (first axis of principal coordinates analysis) on soil microbial activity and crop productivity in three cropping systems. Numbers adjacent to arrows show the standardized path coefficients. The conditional R2 (Rc2) denotes the variance explained by both fixed and random effects of ‘sampling plot’, whereas the marginal R2 (Rm2) denotes the variance explained by fixed effects. Blue and red arrows represented the significant positive paths and negative paths, respectively. Legend: SOC soil organic carbon, OP available phosphorus, NO3, nitrate; MA microbial activity, CP crop productivity. Asterisks denote significant paths. *p < 0.05, **p < 0.01, and ***p < 0.001.

Discussion

Fertilization influences soil nutrients and microbial activities

Fertilization treatments such as NP and NPM significantly increased soil nutrients and microbial activities in our study. This is likely because of the input of exogenous nutrients, as previously suggested [55]. Long-term application of fertilizers, particularly organic fertilizers can significantly increase soil nutrient pools [7, 8], which stimulate the activities of microbial communities [8, 56]. In addition, fertilizer amendment could activate soil microbes that can respond quickly to the added substrates [9], which would further increase soil microbial activities.

We also found that the effects of NPM on soil nutrients were greater in the WC and GLR systems than in the AC system. This is probably because the microbial symbiotic N fixation in the leguminous AC system resulted in a relatively higher soil N level and microbial activities than those in the other cropping systems even when fertilizers were not applied [26, 57]. Such high soil N levels and microbial activities in the unfertilized control plot could lower the positive effect of fertilization in the leguminous AC system. Therefore, variations in cropping systems should be considered when evaluating the impact of fertilization on agricultural soils [25, 30]. Our results also suggested that alfalfa (leguminous crop) can function as a biofertilizer, similar to a previous study [58], which is of great significance for sustainable agriculture, particularly considering the high costs of manure management.

The responses of soil bacterial communities to fertilization vary by cropping system

We found that the response of soil bacterial communities to fertilization differed between legume and non-legume cropping systems, supporting our hypothesis. Fertilization, particularly the NPM treatment, significantly increased soil bacterial diversity in the AC system in our study. This is probably because the combination of fertilization and leguminous alfalfa can provide various niches for microbes and thus increase bacterial α-diversity [59, 60]. In our study, we observed more enriched ASVs (106) than depleted ASVs (60) after the NPM treatment in the AC system (Fig. 3b). Similar to this study, Ye et al. [61]. reported that manure fertilizer significantly increased the α-diversity of soil bacteria in a monoculture leguminous peanut system in southern China. In contrast to the AC system, fertilization did not affect the bacterial α-diversity in the WC systems in our study. The numbers of enriched and depleted ASVs were also similar (120 and 98, respectively) after fertilization in the WC system. Similar to our study, no difference in the bacterial α-diversity between fertilized and unfertilized soils was recently reported in continuous wheat [15], tobacco [17] and rice systems [8]. Contrary to the AC and WC systems, the α-diversity of soil bacteria in the GLR system decreased in response to the fertilization treatments in our study. More ASVs were depleted (195) than enriched (68) by fertilization in the GLR system (Fig. 3h). Similar to this study, reduced bacterial α-diversity was previously reported in soils with frequent crop rotations including peas [62,63,64], although it is still unclear why this happened.

We found that fertilization increased the number of crop system-responsive ASVs (Fig. 3j–l). This is probably related to the positive effects of fertilization on plant growth. Plants under fertilization treatments grew better and therefore could have larger impacts on soil microbiota than those under unfertilized or less fertilized treatments. In our long-term experiment, the NP and NPM treatments significantly increased the aboveground (Table 1) and belowground biomass [30] in each of the cropping systems. The increase in these biomasses have significant impacts on soil organisms [65, 66], mainly by the return of litters, roots into the soil, and by the rhizodeposition such as phenolic exudates, root cells and mucilage, which altered soil physicochemical properties and thus affect the microbial community composition [21].

Bacterial co-occurrence network patterns vary by fertilization and cropping system

Network complexity (nodes, edges, and degrees) and robustness were higher in the AC system than in the other systems in our study. This is probably related to the higher nutrient pools in the legume system, as previously suggested [59]. We also observed positive correlations between soil nutrients and network parameters (Supplementary Fig. S10). Generally, nitrogen-rich compounds produced by legumes are more easily decomposed by soil microorganisms, which can influence biological activities at higher trophic levels, including increased complexity of food webs and the resistance to ecosystem disturbance [67]. Additionally, higher bacterial diversity in the AC system might have also contributed to the high network complexity and robustness observed in this highland agroecosystem (Fig. 2a), similar to other studies performed in dryland plantation [59] and manipulated experiment on soil biodiversity loss [5].

The bacterial networks in the GLR system, which included leguminous pea as one of the rotation crops, were also more complex (i.e., with higher connectivity and robustness) than those in the WC system (Fig. 4d and Supplementary Fig. S7). Robust bacterial communities are closely associated with core taxa that play a major role in maintaining bacterial community associations even under disturbance [68, 69]. The GLR system received more intensified disturbances than the other systems, including more frequent tillage and crop rotations as well as a shorter duration of crop cover [30]. Given that core taxa can occupy a wide range of ecological niches and contribute to stabilizing microbial communities after perturbation [69, 70], the role of the core communities in maintaining the robust bacterial communities was likely more important in the GLR system than in the WC system.

The NPM treatment increased the network complexity (nodes, edges and degree) in the AC system in this study. This is probably because of the enhanced soil nutrients and α-diversity [5, 68]. However, the NPM treatment did not affect the network complexity in the WC and GLR systems (Supplementary Fig. S7). Decreased bacterial diversity, which was seen in the GLR system with the NPM treatment, can reduce potential microbial connections [5, 61]. Moreover, the nutrient accumulation induced by the NPM treatment can provide niches for microbes and increase potential microbial connections. These negative and positive effects of the NPM treatments on network complexity may have canceled each other out, resulting in a neutral effect of NPM on the network complexity in the WC and GLR systems.

Association of the soil bacterial community with soil properties varies by cropping system

Our results showed that the effects of soil properties on the bacterial community varied by cropping system. In the AC system, soil OP and N/P influenced bacterial communities, while in the WC and GLR systems, SOC, TN and NO3- influenced bacterial communities (Fig. 5b). In general, N-fixing legumes require more P than non-N-fixing plants [67]; therefore, the soils in the AC system are likely more susceptible to P stress [30]. In our experiment, soil OP was significantly lower in the AC system than in the WC and GLR systems, even with the NPM treatment (Table 1). Nitrogen fixation by alfalfa can also increase SOC and N as seen in our study (Table 1) and other studies [30, 57], which could alleviate the N stress for soil microbiota. Therefore, soil bacterial communities in the alfalfa cropping system (i.e., the AC system) can be more influenced by P than by SOC and N, while those in non-alfalfa cropping systems (i.e., the WC and GLR systems) are more influenced by N than by P, as evidenced by the higher OP and lower SOC and N in the WC and GLR systems than in the AC system (Table 1). This can explain why SOC and N were identified as the factors influencing soil bacterial communities in the WC and GLR systems (Fig. 5). Although the GLR system included leguminous pea, this leguminous crop was grown for only approximately 4 months of the 3-year rotation, and our sampling was conducted 2 years after pea cultivation, therefore the effects of pea might be minimal.

Linking fertilization-sensitive taxa to crop productivity

We found significant associations between fertilization-responsive taxa and crop productivity in all three cropping systems (Fig. 6a). The effects of fertilization on soil microbial activity and crop productivity were attributed not only to the increase in soil nutrients, but also to the shaping of the microbial communities by the enrichment of specific taxa (i.e., fertilization-responsive taxa) similar to previous studies [8, 71]. These responsive taxa were likely active in soil environments and may play important roles in maintaining crop productivity [8, 72]. Optimizing the spatiotemporal dynamics of responsive taxa is thus important for sustainable agroecosystems with high resource efficiency and high resistance or resilience to disturbance [8, 72].

Although the fertilization-responsive taxa varied by cropping system, many of them are known to play important roles in maintaining crop productivity. For example, fertilization-enriched taxa in the AC system included Pyrinomonadaceae and Gemmatimonadaceae, some of which can hydrolyze complex polymers [73, 74], Enterobacteriaceae and Frankiaceae, some of which can degrade glucose-derived C and fix atmospheric N [75,76,77,78], and Solirubrobacteraceae, some of which can suppress plant pathogens [79]. In the WC system, fertilization-enriched taxa included Sphingomonadaceae, Xanthomonadaceae, Rhodobacteraceae, and Nocardioidaceae, some of which can degrade various complex compounds and pollutants [80,81,82,83,84,85], and Rhodospirillaceae, Xanthobacteraceae, and Oxalobacteraceae, some of which can fix N [86,87,88]. In the GLR system, fertilization-enriched taxa included BIrii41 and Streptomycetaceae, some of which are known to be resistant to both heavy metals and pathogens [83, 89, 90], Microscillaceae and Streptomycetaceae, some of which can degrade gelatin and plant residues [55, 91], and Rhizobiaceae, some of which can fix N and solubilize inorganic P [75, 90]. Most of these fertilization-enriched taxa have also been reported to have the ability to improve plant growth [55, 74, 75, 83, 90, 92,93,94,95,96]. Similarly, we also observed positive correlations between the abundance of fertilization-enriched taxa and crop productivity in each cropping system (Supplementary Table S4 and Supplementary Fig. S9). Collectively, these results suggest that long-term fertilization stimulates various bacterial taxa in contrasting cropping systems, which ultimately provides positive feedback for crop productivity.

Implications

For the establishment of green and highly efficient agriculture toward meeting the Sustainable Development Goals, it is important to understand how soil nutrients, microbiotas and crop productivity respond to long-term fertilization and their associated functional mechanisms in various cropping systems. Our results showed that long-term fertilization significantly and differentially affected soil bacterial community compositions in various cropping systems. Moreover, fertilization, particularly the NPM treatment, enlarged the differences in soil microbiome structure among cropping systems. Crop productivity was also closely associated with the abundance of fertilization-responsive taxa in the three cropping systems, highlighting the important role of such responsive taxa in supporting this highland agroecosystem.

The most striking results of this study include the reduced bacterial diversity and more fertilization-depleted taxa in the fertilization treatment for the GLR system, indicating that soil microbiomes in this crop rotation system are not very resistant to environmental fluctuations. According to the “insurance” theory, in which more diverse communities are more resistant and stable, thereby insuring ecosystems against declines in their functioning caused by environmental fluctuations [97]. Many previous studies also demonstrated that frequent crop-pea rotations could reduce soil microbial diversity and microbial activity, enrich pathogens, and decrease productivity [62,63,64, 98,99,100]. Taken together, our study demonstrates a strong need for balancing fertilization, nutrient pools, microbial diversity and productivity in legume-introduced diversified highland agroecosystem.

In this study, many of the statistical analyses are based on correlation analysis (e.g., redundancy analysis, network analysis, Mantel test, a priori structural equation model). Although these analyses provided the associations among the responses of bacterial communities to fertilization and soil properties, microbial activity, and crop productivity at the community level, they did not provide causality. We therefore recommend that explicitly manipulated experiments should be constructed to reveal the causal relationships in further studies.