Introduction

The interaction between fungi of the genus Epichloë (Ascomycota, Clavicipitaceae) and flies of the genus Botanophila (previously Phorbia; Diptera, Anthomyiidae) was noted for the first time in the nineteenth century (Giraud 1872) and confirmed in the twentieth century (Lucas 1909, Trägardh 1913, Williams 1971). It was then observed that flies visit the fungal stromata to obtain food and lay eggs. The developing larvae feed on part of a stroma and thus are considered specialized parasites. After hatching from eggs in June, the flies undergo three larval instars before pupating in the soil close to the fungi host plants (Dušek 1970). Adults appear in the spring of the following year. Epichloë fungi are the only known food source for these larvae (Kohlmeyer and Kohlmeyer 1974). To date, six European Botanophila species and two additional species (Leuchtmann 2007) from North America associated with Epichloë fungi have been identified.

The ancestors of Botanophila flies associated with Epichloë fungi were probably herbivores feeding on grasses, similar to many modern representatives of the family Anthomyiidae (Bultman 1995; Bultman and White 1988). Individuals that feed on fungal reproductive structures (stromata) gain advantages because the stromata are a richer source of nutrients than the grass tissues (Bultman 1995). However, the EpichloëBotanophila relationship is not limited to food issues alone. Botanophila females also lay eggs on Epichloë stromata and transfer spermatia of opposite mating types via their faeces. This procedure makes cross-fertilization of the obligate outcrossing fungus possible (Bultman and White 1988, Bultman 1995; Bultman and Leuchtmann 2008). The BotanophilaEpichloë relationship is based on the transport of resources and is similar to the relationship between pollinating insects and flowering plants (Bultman 1995). Thus, researchers recognized the BotanophilaEpichloë interaction as obligatory mutualism (Bultman et al. 1998).

The fungus incurs some losses because the larvae feed on the perithecia before releasing ascospores capable of infecting new grass individuals (Welch and Bultman 1993). The feeding behaviour results in a decrease in the number of discharged ascospores and, consequently, a reduction in fungal reproduction. However, even after larval feeding, the net production of reproductive tissues (perithecia) is higher for stromata receiving at least one Botanophila egg than those receiving none (Bultman et al. 2000).

More recently, we know that stromata fertilization may occur in Botanophila flies' absence (Rao et al. 2005, 2012; Hoffman and Rao 2014). Fertilization without the contribution of Botanophila vectors might occur through ‘ascosporic fertilization’, in which ascospores function as wind-transferred spermatia (Rao and Baumann 2004; Alderman and Rao 2008). Another possible explanation is that vectors other than Botanophila exist, such as slugs (Hoffman and Rao 2014; Rao et al. 2012; Bultman et al. 2022). It also cannot be excluded that a fly may not lay eggs or leave faeces whilst visiting a stroma. Yet, limited cross-fertilization may be possible through spermatia transferred externally on its body (Bultman 1995).

Each biological interaction has its own dynamics of gains and losses, influenced by many abiotic and biotic factors. Time is also a factor that significantly affects the strength of the interaction between organisms and grass and its effects (e.g. Lortie et al. 2004; Guisan and Thuiller 2005; Ferrier and Guisan 2006; Algar et al. 2009). The fly–fungus interaction depends on the third organism in the three-way interaction—the grass, an irreplaceable host for the fungi. In the stage of stroma development, the fungus is a grass parasite (Lembicz et al. 2010). With time, the host plant's condition deteriorates. According to the allocation principle (sensu Cody 1966), a plant inhabited by a fungal parasite must allocate more resources to defend against this parasite. A stronger antagonistic effect of fungi is also reflected in a more intensive assimilate uptake. Consequently, the costs of fungal maintenance increase, and a host plant has fewer resources available to develop fungi. As a result of this strain, its condition deteriorates. Resources are allocated to develop fungal stromata from leaves situated above these stromata. It may be expected that a weakened plant will produce smaller leaves. As a result, the fungus may absorb fewer resources than from shoots with larger leaves. This plant fitness loss may decrease the size of fungal reproductive structures—the stromata. In this study, conducted in a permanent field plot, the hypothesis was tested that an increase in infection severity caused by Epichloë fungus results in a decrease in its sexual structure (stromata) size in consecutive years and, consequently, the lower number of eggs laid by flies and the lower body mass of their larvae.

Materials and methods

Identification of fungus and flies

The endophytic fungus Epichloë clarkii, similar to other taxa of the genus Epichloë, belongs to the family Clavicipitaceae. This species was described for the first time on shoots of the grass Holcus lanatus L. (Poales, Poaceae) by White (1993). H. lanatus is a perennial grass that blooms from June to July. E. clarkii produces its reproductive structures (stromata) in the first weeks of June (Fig. 1). Taxonomic identification of the fungus and flies in the studied population of H. lanatus was conducted in our previous studies (Lembicz et al. 2013; Górzyńska et al. 2014). The identification of flies based on adults which had developed from eggs and larvae found on E. clarkii stromata. Two fly species were found and considered in the present study: Botanophila phrenione Séguy and B. laterella (Collin) (Pagel et al. 2019).

Fig. 1
figure 1

The diagram of the three-trophic grass–fungus–fly interaction and the abiotic and biotic factors, which were identified in the previous studies, affecting the gains and losses between the organisms that create these interactions (A). The grass acts as a host for the fungus Epichloë sp. (B), on which the fly lays its eggs and its larvae develop (C). The ascospores of the fungus, which can infect other grasses, form thanks to the flies, which, by carrying the reproductive spores, enable the start of sexual reproduction of the fungus. Arrows in B and C point to stromata of Epichloë

Observations and measurements in a permanent field plot

The natural presence of the fungus E. clarkii and Botanophila flies in a wild population of the grass H. lanatus was monitored for 3 years. Monitoring was conducted on a permanent plot established in a meadow near the Faculty of Biology of Adam Mickiewicz University (AMU) in Morasko, Poznań (52°27.910′N, 16°55.370′E) (Fig. 2). Within an area of 25 m2 divided into plots of 1 m2, 19 tussocks of the grass H. lanatus infected with the fungus E. clarkii were selected and labelled in the first year of observation, and 20 tussocks were labelled in each of two consecutive years. The tussocks were selected from each corner of a plot. If there was no fungus-infected tussock in a given corner, then a tussock was selected from the plot centre. The weather conditions during the 3 years resembled each other.

Fig. 2
figure 2

Map of the research area: A—part of the Morasko Campus UAM with highlighted research plot, B—map of Poland with the research location marked by a red cross, C—map of Poznań County with the research location marked by a red cross

In the first weeks of June, two groups of shoots were counted for each selected tussock: shoots without and with fungus and stromata, (predominantly) occurring on leaf sheaths. Next, one shoot with a stroma was cut from each of the labelled tussocks and put into a paper bag. After the transfer of samples to the laboratory of the Department of Plant Taxonomy at AMU, the following parameters were measured or counted: stroma length (i.e. the length of leaf sheath covered with fungal stroma), length of a leaf above the stroma, and number of fly eggs and larvae per stroma (if only a larva was found on a given stroma, it was accepted that an egg preceded it). All larval instars of both Botanophila species were pooled together. The presence of eggs and larvae was checked under a stereo microscope (Olympus SZ61-TR; Olympus, Tokyo, Japan). Living larvae were collected from stromata and weighed with an analytical balance A&D, HM-120 (A&D Company, Ltd. Tokyo, Japan) with 0.0001 g accuracy. We assume to have sampled similar larval stages each year because of similar weather conditions and the same sampling dates.

Statistical analyses

Factors that could affect the stroma length and larval body mass were examined using General Linear Models (GLMs) with an identity link function and a normal error distribution. The number of generative shoots, number of infected shoots, and leaf length in the first model and stroma length in the second model were used as continuous variables. To approximate the normal distribution, two predictors, the number of generative shoots and the number of infected shoots were logarithmically transformed. The study year in both models and the number of larvae in the second model were treated as categorical independent predictors. The number of larvae feeding on stromata was divided into three categories: 1—one larva on one stroma, 2—two larvae on one stroma, and 3—three larvae on one stroma. The relationship between the number of infected and non-infected shoots and between the stroma length and the leaf length was evaluated with a Pearson correlation. A one-way ANOVA and post hoc Tukey’s test were used to detect differences in the number of eggs and the number of larvae between study years. The post hoc Tukey test also detected differences in larval body mass between the study years and between the categories of larval number. Only those results that showed a probability of α ≤ 0.05 were accepted to be statistically significant. All statistical analyses were carried out using Statistica ver. 12 (StatSoft 2018).

Results

The GLM showed that the mean length of the stromata was affected by the leaf length and the study year (R2 = 0.86, F5,51 = 63.14, p < 0.001, Table 1). The relationship between the stroma length and the leaf length was significant, strong, and positive (Pearson correlation, r = 0.90, p < 0.001, N = 59, Fig. 3). The third year of the experiment was characterized by a statistically lower value of stroma length than the first and second year (post hoc Tukey test, p < 0.001 for two cases, Fig. 4). However, no differences in this parameter were found between the first and second year (post hoc Tukey test, p = 0.257). The model also indicated that the number of infected and generative shoots did not affect the stroma length (Table 2).

Table 1 Results of GLM analysing stroma length in the function of the year, number of generative shoots, number of infected shoots, and leaf length (F5,51 = 63.14, p < 0.001)
Fig. 3
figure 3

Relationship between the length of Epichloë stromata and the leaf length (Pearson correlation: y = 9.20 + 0.36 × x, r = 0.90, p < 0.001, N = 59)

Fig. 4
figure 4

Length of Epichloë stromata during the 3 years of the study. The whiskers and dashed lines indicate the 95% confidence intervals. Means with different superscripts (A and B) differ significantly (post hoc Tukey test: p < 0.001)

Table 2 Results of GLM analysing larval body mass in the function of the year, generative shoots, infected shoots, and stroma length (F5,70 = 13.55, p < 0001)

Both the number of eggs and the number of larvae decreased during the experiment (Fig. 5), and significant differences were found between study years (ANOVA for egg: F2,56 = 45.53, p < 0.001 and ANOVA for larvae: F2,56 = 29.35, p < 0.001). However, the post hoc Tukey test did not show differences in mean egg number between the first and second year (p = 0.369). In other analysed cases, both parameters differed significantly between study years (p < 0.008 for five comparisons).

Fig. 5
figure 5

Number of eggs and the number of larvae of Botanophila found on stromata in the 3 years of the study. The whiskers and dashed lines indicate the 95% confidence intervals

The larval body mass was affected by the study year and the number of larvae but was not related to the stroma length (GLM: R2 = 0.49, F5,70 = 13.55, p < 0.001, Table 2). The larval body mass in the third year of the experiment significantly differed from the first year (post hoc Tukey test: p = 0.004) and the second year (post hoc Tukey test: p = 0.006, Fig. 6). The difference in larval body mass between the first and second year was not significant (post hoc Tukey test: p = 0.950). The mean larval body mass was lowest in the category of three larvae feeding on a stroma and differed only from the category of two larvae feeding on a stroma (post hoc Tukey test: p = 0.017, Fig. 7). The other two comparisons between the categories of larval numbers were not significant (post hoc Tukey test: p > 0.176).

Fig. 6
figure 6

Body mass of Botanophila larva in the 3 years of the study. The whiskers and dashed lines indicate the 95% confidence intervals. Means with different superscripts (A and B) differ significantly (post hoc Tukey test: p < 0.006)

Fig. 7
figure 7

Body mass of Botanophila larva in three categories of larva number preying on stromata. Categories of the larva number: 1—one larvae on one stomata, 2—two larvae on one stromata and 3—three larvae on one stromata. The whiskers and dashed lines indicate the 95% confidence intervals. Means with different superscripts (A and B) differ significantly (post hoc Tukey test: p = 0.017)

Discussion

In the 3-way interaction, the first step is an infection of the grass with Epichloë fungus. This fungus causes a well-known choke disease (Kohlmeyer and Kohlmeyer 1974), in which grass shoots are enclosed with fungal perithecia. The fungus in this form is a grass parasite that inhibits plant flowering and, consequently, seed production (e.g. Kirby and Santelmann 1964; Clay and Brown 1997; Lembicz and Olejniczak 2007; Li et al. 2020). The fungal infection in grass populations increased from year to year, which in the case of Epichloë infection has been previously described for different grass species populations (citation). In this study, we also found a time-related significant increase in the number of shoots infected with fungal stromata within the observed population of Holcus lanatus. This higher shoot number corresponds to an increase in food resources for flies.

For females and larvae of these flies, the fungus in the stroma form is the only food available (Bultman 1995). Thus, an increase in the number of eggs and larvae on fungal stromata might have been expected. However, vice versa, the present study showed a decrease in the egg number and larval body mass from year to year, i.e. with the growth of the Epichloë infection in the H. lanatus. The intensity of parasitic infection with endophytic fungi is manifested by the number of Bothanophila flies fed on the fungus-produced stromata. A higher number of stromata within a grass tussock worsened the condition of a plant, and as a result, it caused the production of smaller leaves in consecutive years. Each year, a plant grew older and became more strained by the increase in fungal stromata, metabolic process intensification, and oxygen-free radical content (Rozpądek et al. 2015).

We found a positive correlation between the leaf length situated above a stroma and stroma length. If the leaf was longer, the stroma was longer. With each year of the observation period, the leaf length decreased; thus, the resources essential for fungal maintenance decreased. As a result, fungal stromata decreased from year to year, and flies laid a smaller number of eggs on them. Furthermore, the larvae hatched from these eggs attained a lower body mass. Previous studies have shown that Epichloë stromata produce volatile substances that attract fly vectors (Schiestl et al. 2006; Steinebrunner et al. 2008) to increase the reproductive success of the fungus. The amount of produced volatile compounds depends on the stroma length. This relation may explain why more fly eggs were found on larger stromata (Górzyńska et al. 2011, 2014).

We are aware that a non-infected control is missed in our study and that climate conditions and other impacts might have influenced the observed tri-trophic community. Also, the grass could have suffered during the 3-year study period due to some variables not being studied, and the fungus could have tracked this degradation. However, a greater fungal infection could have led to host deterioration which could result in smaller stromata and reduced fly performance. Compared to the Epichloë-covered grass, the non-infected plants in the permanent field plots grew stronger without observable differences between the three study years.

In conclusion, the flies obviously responded to the appearance of shorter stromata in the grass population of H. lanatus by decreasing the number of eggs laid over a period of 3 years. This strategy (numerical response) of the flies might ensure sufficient food for the developing larvae. The opportunity for the flies to obtain food, which is essential for the development of the larvae, decreased with the decreasing stroma length. Furthermore, shorter stromata should produce fewer chemical compounds that attract the flies (Schiestl et al. 2006; Steinebrunner et al. 2008). As a result, the cost of the flies laying a continuously smaller number of eggs on the stromata may decrease the size of the fly population. We conjecture that in the three-way interaction, the grass condition became the biotic factor regulating the reproductive success of the fly. This interaction is particularly complex, taking place in the field in the evolutionary context. Likely, many factors combined during our research, and there was a significant decrease in the fitness of the fungus host—the grass. For the flies, this meant a reduction in the presence of food resources and, as a result, decreased fly reproductive success.