1 Introduction

Ambrosia artemisiifolia L. (common ragweed) of the Compositae family, native to the temperate regions of North America, is considered to be a dangerous invasive species and an unfavourable weed in agriculture, as well as a source of allergenic pollen (Lambdon et al. 2008; Smith et al. 2013). The introduction of the common ragweed into natural habitats in Europe began in the 19th century, however, its massive spread, mainly in lowland regions, started at the beginning of the 20th century (Rich 1994; Chauvel et al. 2006; Mang et al. 2018). The first records from Central and Eastern Europe are from 1873 in Poland (Tokarska-Guzik et al. 2011), 1883 in the Czech Republic and Austria (Pyšek et al. 2002; Essl et al. 2009), 1922 in Hungary (Csontos 2010), and 1942 in Ukraine (Song and Prots 1998). In Slovakia, the species has spread since 1949 after its introduction via contaminated Canadian crop delivery (Hrabovský et al. 2016).

Temperature is one of the most important ecological factors for common ragweed distribution as it affects seed germination and plant growth (Basset and Crompton 1975; Deen et al. 1998). The common ragweed germination process reflects the species adaptation to seasonal changes in the temperate zone (Dickerson 1968). It requires the regular daily alternating temperature of (5–) 10 to 20 (–28) °C (Li et al. 1989; Brandes and Nitzsche 2006) and seed stratification (Bazzaz 1970; Baskin and Baskin 1987; Brandes and Nitzsche 2006). Furthermore, germination is affected by other factors: photoperiod, seed burial depth, pH, water, and salt stress (Farooq et al. 2019). As an annual plant, common ragweed has a life cycle tied to one vegetation season, its life period from germination to seed production ranges from 115 days to 183 days (Li et al. 1989; Kazinczi et al. 2008). The species is not tolerant to freezing, spring or autumn frosts eliminate its growth (Essl et al. 2015). Therefore, the distribution of common ragweed is limited to the frost-free season, which correlated with its occurrence in North America up to 50° N in the first half of the 20th century, with the highest known locality at 975 m a.s.l. (Allard 1943). In European regions, the species distribution was limited mainly to very low altitudes with warm climates in the twentieth century (Mang et al. 2018).

The invasion of common ragweed into colder areas can be promoted by climate change, along with transportation and habitat disturbance (Cunze et al. 2013; Rasmussen et al. 2017; Skálová et al. 2017; Mang et al. 2018; Lemke et al. 2021; Liu et al. 2021). The territory of Slovakia extends into two European ecoregions: Pannonian mixed forests and Carpathian montane coniferous forests (Metzger et al. 2005). Until the 1990s, common ragweed occurred only in the region of the Pannonian flora, and its introduction into the area of the Carpathian flora was not expected (Jehlík 1998). However, the common ragweed expanded into mountain regions lastly (Štrba 2003; Zaliberová and Podroužková-Medvecká 2011; Hrabovský and Mičieta 2014, 2018; Eliáš 2021; Kochjarová et al. 2023).

In this study, we chronologically follow the process of the spread of common ragweed in Slovakia, changes in the means of spread, and ecological preferences. These, together with prediction models tied to changing climatic conditions, may answer the following questions: (a) Are there differences in common ragweed habitats in the past and the present? (b) Are climatic changes or ecological adaptation responsible for the expansion of ragweed into mountain regions? (c) What is the potential distribution of common ragweed in Slovakia? (d) How will the invasion proceed in the future?

2 Materials and methods

2.1 Study area

Slovakia, a European country with an area of 49,034 km², is characterized by different environmental and geographical features. It is located in the range of two climatic zones (Metzger et al. 2005). The Pannonian zone, with a warmer climate, overlaps more than one-third of the area. The mean annual air temperature of the Pannonian zone ranges from 10.8 °C (7.3 –12.2 °C) in the west to 10.5 °C (9.4–11 °C) in the east. The annual precipitation totals vary from 640 mm (534 –922 mm) to 695 mm (620 –868 mm). The colder Carpathian zone exhibits a mean annual air temperature of 7.8 °C (0.3 –10.7 °C), and annual precipitation totals 873 mm (569 –1621 mm). The given climate data was extracted from WorldClim datasets (Fick and Hijmans 2017).

The studied area was invaded by several alien plant taxa (Medvecká et al. 2012; Májeková et al. 2021), including common ragweed, a species that has unexpectedly started to spread from the warm Pannonian region to the Carpathians (Hrabovský et al. 2016; Kochjarová et al. 2023), which makes both the area and common ragweed a suitable model for the study of adaptation to changing climatic conditions.

2.2 Data collection

Recent records of ragweed in Slovakia were sampled from the entire country in the years 2017–2022. For large populations growing along roadsides, railways, or arable fields, coordinates were recorded from approximately the centre of the population. Older botanical records were collected from public and private herbaria, the State Nature Conservancy of the Slovak Republic (https://www.biomonitoring.sk), and other published sources (e.g., Jehlík 1998; Hrabovský et al. 2016; Hrabovský and Mičieta 2018; Eliáš 2022). The majority of the records gathered included habitat information. Maps and fieldwork were used to fill up the gaps left by missing data. In cases where the herbarium specimens lacked coordinates, the sites were visited, and the coordinates of the current populations were recorded. The collected point type records (Table S1) were extended by 17 additional geographic and environmental features (Table 1) using 30-second resolution raster layers in QGIS 3.22.3. The records were assigned to several types of habitats: arable fields, railways, roadsides, settlements, unpaved roads and paths, grasslands, salt marshes, river harbours and riverbanks, and sand dunes.

Table 1 Geographic and environmental features used as predictors for models

2.3 Data analysis

For the study of potential common ragweed habitat changes we used the cumulative numbers of records and occupied grids in different types of habitats (Skálová et al. 2017). The study area was divided into 1577 grid cells (1299 complete and 278 shared with neighbouring countries) according to modified Central European mapping with cell size 5’ × 3’ (Hrabovský 2023). An analysis of covariance (ANCOVA) with year as a covariate was performed in R (version 4. 3. 1, R Core Team 2023) to obtain regression slopes among cumulative frequency curves in the whole study area and separately in the lowlands and mountains.

Species distribution modelling (SDM) was realized at higher resolution (30-second) to obtain the potential distribution of common ragweed in Slovakia for the past period (1970–2000), for the current period (2018–2021), and for the future (2040–2061) if one of the worst scenarios (model EC-Earth3-Veg, Döscher et al. 2022; scenario SSP5-8.5, WorldClim datasets, Fick and Hijmans 2017) were to come true. 17 variables as possible predictors (Table 1) were tested for multicollinearity using ‘car’ and ‘mctest’ packages in R (Fox et al. 2007; Imdadullah et al. 2016). The six correlated predictors (Table 1) with a variance inflation factor higher than 10 were excluded from SDM so that the condition number was not higher than 30 (Dormann et al. 2013). Meteorological variables (mean annual air temperature and annual precipitation) were changeable predictors; remaining nine predictors were treated as static variables, and each SDM used the same values of them. Two presence datasets were established: the first dataset contains records from 1949 to 2000, and the second dataset contains records from 1949 to 2022. The pseudo-absence dataset should be randomly created at least 1–2° from places of occurrence (Barbet-Massin et al. 2012). However, this recommendation was not possible to follow in the small study area. Therefore, pseudo-absences were generated in ten random runs for each presence dataset (Barbet-Massin et al. 2012). SDMs were calculated by ‘sdm’ function of ‘sdm’ package (Naimi, Araujo 2016) in R using 19 profile, regression-based or machine learning models: BIOCLIM, DOMAIN, Mahalanobis distance (MAHAL), generalized linear model (GLM), polynomial generalized linear model (GLMPOLY), generalized additive models (GAM), multiple adaptive regression splines (MARS), maximum likelihood (MAXLIKE), boosted regression trees (BRT), random forest (RF), classification and regression trees (CART), support vector machines (SVM), mixture discriminant analysis (MDA), flexible discriminant analysis (FDA), radial basis functions (RBF), recursive partitioning and regression trees (RPART), multi-layer perceptron (MLP), lasso and elastic net regularized generalized linear models (GLMNET), maximum entropy (MAXENT). Each model was evaluated with 10-fold cross-validation to get the area under the receiver operating characteristic curve (AUC) values and the maximum of true skill statistic (maxTSS). The first model was trained on the first presence dataset, the first pseudo-absence datasets, and meteorological variables averaged for the past period (1970–2000). The second model was trained on the second presence dataset, the second pseudo-absence datasets, and meteorological variables averaged for the current period (2018–2021). The predictions were calculated using the ‘ensemble’ function of the same ‘sdm’ package with a weighted averaging by AUC values over all predictions from all fitted models with an AUC higher than 90% and a maxTSS higher than 70% (Table S2). Based on the first model, the predictions for periods 1970–2000 and 2018–2021 were obtained. Based on the second model, the predictions for periods 2018–2021 and 2040–2061 were made. This results in four predictions (Fig. 1): (1) common ragweed distribution if the climate remained the same as before 2000; (2) common ragweed distribution trained on records from 1949 to 2000 and predicted for current period meteorological variables; (3) current common ragweed distribution trained on all records from 1949 to 2022 and predicted for current period meteorological variables; (4) future common ragweed distribution if the SSP585 global warming scenario were to come true. Probability values from 1 to 0 were distinguished by the scale: abundant (> 0.51), common (0.26–0.50), occasional (0.11–0.25), and rare occurrence (< 0.10). The correlation between predictions 2 and 3 was evaluated using the ‘cor.test’ function, method Pearson, in R to compare the first model with the second model.

Fig. 1
figure 1

Workflow diagram illustrating the data analysis

A conditional inference tree was used as a non-parametric decision tree to estimate the efficiency rates of 17 environmental factors shaping the common ragweed distribution (Table 1). Meteorological variables of the current period and occurrence data from 1949 to 2022 were used.The tree was created with the ‘ctree’ function of the ‘party’ package in R (Hothorn et al. 2015).

All collected records were divided into three groups: Pannonian populations, Carpathian populations, and transient populations at the contact zone between lowlands and mountains (up to three kilometres from the Pannonicum-Carpaticum border). Linear discriminant analysis (LDA) was performed using the ‘MASS’ package in R (Ripley et al. 2013) to find the main predictors that can explain separation between the three groups based on their ecological preferences. The LDA is a multivariate statistical method that is widely used for morphotype classification (Hastie et al. 2001), however, it is sometimes also used for ecotype classification (Sanchez and Mackenzie 2016). We split the data into test and training sets and employed 10-fold cross-validation to achieve the accuracy of the LDA classification.

3 Results

3.1 Records and habitats of common ragweed in Slovakia

From 1949 to 2022, we collected 1635 records of common ragweed in Slovakia in 696 of 1577 grid cells (44.1% of the whole territory, Fig. 2). In Pannonian lowlands, it presents 1296 records in 527 of all 699 Pannonian grid cells (75.4% of Pannonian lowlands). In the Carpathian Mountains, 339 records in 200 of all 1066 Carpathian grid cells occur only in 18.8% of the region. From mountains, 28% of the records are located within five kilometres from lowlands, 52% of the records are no more than 20 km away, and 72% of the records are at a distance of up to 40 km from the Pannonian basin. In the period 1949–2000, 336 records were known from the lowlands and only 14 from the mountains. While the number of records in the lowlands increased not even three times in the last 22 years (2001–2022), in the mountains it increased 23 times at the same time.

Fig. 2
figure 2

Grid distribution map of common ragweed in Slovakia. A point symbolizes at least one record in a grid cell of size 5’ × 3’. The green surface represents the phytogeographical mountain area of Carpaticum

Up to 2000, human settlements and arable fields were the most frequently colonized habitats in the lowlands (60.4% of records), while in the mountains common ragweed occurred mainly along railways (57.1% of records). Roadsides are recorded at 11% in lowlands and 21.4% in mountains. From 2001 to 2022, habitat preferences changed significantly. In the lowlands, human settlements and arable fields represent only 34.2% of recorded habitats, while the proportion of roadsides increased to 47.8%. A similar increase in roadside preference also occurred in the mountains (52.8% of records).

From the point of view of the entire period (1949–2022), the difference in cumulative numbers of records or grids (Fig. 3) between roadsides, human settlements, and arable fields is not significant (Table 2), indicating the similar preference of common ragweed for these three habitats. In the lowlands, arable fields and human settlements provide the most dominant habitats for common ragweed, while in the mountains, the roadsides are a crucial vector of expansion. However, it has also begun to occur in grasslands or along forest paths.

Fig. 3
figure 3

Cumulative number of grid cells occupied by common ragweed in Slovakia until 2022, divided into nine different habitats

Table 2 Analysis of covariance (ANCOVA) statistics of differences between cumulative frequency curves in the whole study area (A) and separately in the Pannonian lowlands (B) and Carpathian Mountains (C). Calculated from cumulative numbers of records (above the slanted line) and from occupied grid cells (below the slanted line). RS – roadsides; RP – unpaved roads and paths; GL – grasslands; SD – sand dunes; AF – arable fields; ST – settlements; SM – salt marshes; RV – river harbours and riverbanks; RW – railways; NS – no significant difference; * p < 0.05; ** p < 0.01; *** p < 0.001

3.2 Potential distribution of common ragweed in Slovakia

According to the potential distribution predicted for the past period (1970–2000) (Fig. 4), common ragweed could commonly occur in lowlands. It is noticeable that 87.8% of records from 1949 to 2000 occurred in 30-second grid cells with probability values from 0.26 to 0.50 typical for common distribution, 5.7% of records belong to occasional (probability 0.11–0.25), and 4.5% of records occurred in 30-second grid cells with probability higher than 0.51, i.e., with abundant occurrence.

Fig. 4
figure 4

Potential distribution of common ragweed in Slovakia in the past period (1970–2000); abundant (> 0.51), common (0.26–0.50), occasional (0.11–0.25), rare or absent (< 0.10)

The prediction for current climate (2018–2021) based on the first model trained on records from 1949 to 2000 differs from the previous predicted distribution in the increased probability of occasional occurrence (0.11–0.25) in mountain regions (Fig. 5). This prediction is similar to the prediction based on the second model trained on records from 1949 to 2022 (Fig. 6) in the potential area of common ragweed occurrence. There is a very strong relationship between these two predictions (r = 0.868, p < 0.001). The differences in the prediction based on the second model consist of higher probability values in lowlands and an increased probability of occasional occurrences in mountains. According to this prediction, 6.7% of common ragweed records from 1949 to 2022 occur in 30-second grid cells with probability values for common occurrence (0.26–0.50), and 91.7% of records were collected from 30-second grid cells with a probability higher than 0.51 (abundant occurrence). The fourth predicted distribution of common ragweed in Slovakia for 2040–2061 (Fig. 7) is largely identical to the third model. It predicts an ever-increasing probability of the occasional occurrence of common ragweed in the Carpathian Mountains, indicating an increase in the number of records in these areas in the future.

Fig. 5
figure 5

Potential distribution of common ragweed in Slovakia in the current period (2018–2021) based on the distribution in 1949–2000; abundant (> 0.51), common (0.26–0.50), occasional (0.11–0.25), rare or absent (< 0.10)

Fig. 6
figure 6

Potential distribution of common ragweed in Slovakia in the current period (2018–2021) based on the distribution in 1949–2022; abundant (> 0.51), common (0.26–0.50), occasional (0.11–0.25), rare or absent (< 0.10)

Fig. 7
figure 7

Potential distribution of common ragweed in Slovakia in 2040–2061; abundant (> 0.51), common (0.26–0.50), occasional (0.11–0.25), rare or absent (< 0.10)

3.3 Environmental factors influencing the spread of common ragweed

The results of the conditional inference tree (Fig. 8) indicate the several main environmental or geographical factors that connect the vast majority of all records: mean annual air temperature > 9.51 °C, altitude < 217 m above mean sea level, and early September frost probability < 3.3%. Nevertheless, common ragweed is able to survive at altitudes higher than 500 m above mean sea level (4.8% of all records) and at a temperature lower than the average temperature in the Carpathians (7.8 °C). In such cases, microclimatic conditions are important, e.g., southeast- to southwest-facing slopes exposed to the sun without shading vegetation. Anthropogenization is also important, an increase in anthropogenic elements such as roads, railways, or settlements increases the probability of ragweed occurrence, albeit casual, even at higher altitudes. The relationships between environmental variables and the estimated probability of common ragweed occurrence for the current period are shown in Supplementary Information.

Fig. 8
figure 8

Conditional inference tree presenting the efficiency rates of the main factors shaping the common ragweed distribution. The bars show the likelihood ratio of the presence (green) and absence (orange) of common ragweed under the conditions specified in ovals. The mean annual air temperature for the current period (2018–2021) is used

Out of seventeen tested variables, only early September frost probability and ruggedness index drive the separation between Pannonian and Carpathian populations in linear discriminant analysis (Fig. 9), with an estimated accuracy of 0.91.

Fig. 9
figure 9

Ordination plot of linear discriminant analysis, illustrating two different ecotypes of common ragweed and transient populations. The LD1 and LD2 axes correlate with the ruggedness index and the early September frost probability

4 Discussion

4.1 Distribution and habitat preference

Comparing the neighbouring Central European countries, we can see differences in the current distribution of common ragweed. In Austria, where mountain landscape prevails, common ragweed occupies only 22.5% of the territory (Mang et al. 2018), which is twice less than in Slovakia with 44% occurrence. Lowlands in the southeast and east of Austria, belonging to the Pannonian Basin, are the most affected by ragweed invasion (Essl et al. 2009). A similar situation can be observed in Hungary, whose territory is entirely part of the Pannonian Basin and thus has a lowland character. Hungary is invaded at level 66.4% (Mang et al. 2018), which is almost comparable to 75.4% in the Pannonian zone of Slovakia. In Central Europe, Hungary (Mang et al. 2018) and Slovakia seem to be the most affected by common ragweed invasion.

The spread of ragweed in the Pannonian basin continues also in the territory of Slovenia (Mang et al. 2018; Dolenc et al. 2021) and further on in southern and eastern European countries (Song and Prots 1998; Konstantinović et al. 2005; Galzina et al. 2010; Janjić et al. 2011; Cunze et al. 2013; Bašić et al. 2017; Afonin et al. 2018; Sirbu et al. 2022). These regions are climatically very similar to the Pannonian basin in Slovakia (Fick and Hijmans 2017), however, there is no study, which would indicate an equal level of infestation as it is in Slovakia and Hungary. The analysis of the entire Pannonian basin as a geomorphological unit would be a useful addition to analyses of ragweed distribution in individual states, as the Pannonian region can be considered a regional source of the spread of ragweed diaspores (Šikoparija et al. 2009; Karrer et al. 2012; Ferus et al. 2015).

In contrast to Slovakia, Austria, and Hungary, common ragweed is known only from 6% of the territory of the Czech Republic (Skálová et al. 2017), which is analogous to the distribution in Germany (Mang et al. 2018). The climatic conditions of the Czech Republic (annual mean temperature, annual precipitation totals) are at an intermediate level between the Carpathian Mountains and the Pannonian basin in Slovakia (Fick and Hijmans 2017). A threefold difference in the occupation of the grid cells may be caused by the absence of vast lowlands in the Czech Republic, which would create a spreading pressure on the surrounding mountain basins as it does in Slovakia, where 52–72% of the records from the Carpathian Mountains are distant within 20–40 km from Pannonian lowlands. This supports the assumption in the previous paragraph that the Carpathians are being persistently invaded due to their proximity to the Pannonian basin since the common ragweed expansion is estimated at a rate of between 6 and 20 km per/year (Makra et al. 2015).

In general, many studies have confirmed the binding of common ragweed to man-made or human-impacted habitats, such as arable land, settlements, transportation networks, etc. (e.g., Walter et al. 2005; Fumanal et al. 2008; Zelnik 2012; Ciapetta et al. 2016; Lemke et al. 2021; Zhao et al. 2022; Simard and Maheux 2022; Glaser et al. 2022) and Slovak populations are no exception. At the regional level, we observed differences in habitat preference. In lowlands with intensive land use, common ragweed is widespread in human settlements and arable fields, which is very similar to the situation in Hungary (Pinke et al. 2011). In the early years of expansion into the Slovak part of the Carpathian Mountains, railways were the typical habitat of common ragweed, but later the preference for roadsides both in mountains and lowlands increased. An identical course was observed in Austria (Essl et al. 2009) and the Czech Republic (Skálová et al. 2017), only the time interval in the change of habitat preference is different, the spread along roadsides intensified 40 years earlier in Austria than in Slovakia and the Czech Republic. It may be related to progress in infrastructure development and traffic volume (Lavoie et al. 2007) since it has a significant effect on the dispersal of common ragweed seeds (Lemke et al. 2019). A highly disturbed upper soil layer along the roadsides becomes a suitable niche for invasive species (Joly et al. 2011; Meunier and Lavoie 2012; Follak et al. 2018; Szumańska et al. 2021), which may start to prefer this habitat after a small change in environmental conditions (Deeley and Petrovskaya 2022).

Not only roadsides are potential habitats for common ragweed in mountains or lowlands. In native area (North America), common ragweed shifted from primary habitats, which are probably the prairies, to synanthropic environments (Basset and Crompton 1975; Montagnani et al. 2017). In last 4,500 years, the prairies have been regularly disturbed by fire cycles (Brown et al. 2005), so ragweed is adapted to regular habitat disturbance. Disturbances are the keys to opening a room for common ragweed to meadow phytocoenoses at altitudes higher than 500 m above sea level with the help of strong anthropogenic pressure from arable lands, roads, and paths (Chadaeva et al. 2018; Kröel-Dulay et al. 2019). One of the vectors of spread to these habitats is seeds mixed with feed. Wildlife supplementary feeding could become a source of seeds (Strgulc Krajšek and Novak 2013; Kochjarová et al. 2023) and increase dispersal along forest paths and grasslands, thus aiding the spread of invasive species (Mortensen et al. 2009; Sărăţeanu et al. 2010). But such habitats will probably never be as frequently invaded as paved roads (Joly et al. 2011) or arable fields (Chadaeva et al. 2018), which is also indicated by the low percentage representation of our records in these habitats.

4.2 Predictions and environmental factors

The species distribution models can reveal the main environmental factors, habitats, and ways through which invasive species are spread (Coutts et al. 2011). Knowledge of the potential distribution of such species may help prevent their further spread (Szumańska et al. 2021). For that reason, the distribution modelling of common ragweed was calculated for many countries across the world (e.g., Essl et al. 2009; Pinke et al. 2011; Storkey et al. 2014; Skálová et al. 2017; Case and Stinson 2018; Wang et al. 2021; Cho et al. 2022; Chung et al. 2022; Qin et al. 2022). In our case, at the interface of two different environments, we used higher precision predictions. All our species distribution models coincide in the potential area of common ragweed occurrence in the whole Pannonian region and in the basins and warmer valleys of the Carpathian Mountains. However, predictions based on these models differ in the probability of occasional to rare occurrences of common ragweed in mountains and common to abundant occurrences in lowlands. This demonstrates the differences in models trained on records from the colonization period and on records when invasive species are adapting to new local conditions or have reached a quasi-equilibrium. Invasive species are not in equilibrium with climate (Foster et al. 2022; Formoso-Freire et al. 2023). If invasive species colonizing the potential area have not yet occupied all suitable habitats, then not all of the created pseudo-absences indicate unsuitable environmental conditions for the species, and SDM is biased (Chefaoui and Lobo 2008). In addition, individual populations of the same species may be at various stages of invasion in the study area (Gallien et al. 2012). Our second model suggests that Pannonian populations have reached a quasi-equilibrium, but Carpathian populations are only at the stage of colonization. Although, judging by current records, common ragweed does not occupy all suitable niches, there are probably many localities that have not yet been recorded. In general, according to studies in Austria, records reflect only 42–65% of the real distribution (Mang et al. 2017, 2018). Therefore, according to the prediction for the current period (Fig. 6), areas with a higher probability of occurrence are definitely more invaded, as indicated by number of our records. Under a future climate scenario, common ragweed was predicted to have a limited potential distribution expansion in mountains. This moderate trend is similar to forecasts from Europe (Storkey et al. 2014), Asia (Chung et al. 2022; Qin et al. 2022), and the eastern United States (Case and Stinson 2018).

The air temperature and increased rates of anthropogenization seem to be important factors for common ragweed distribution not only in Slovakia but also in other Central European countries (Essl et al. 2009; Skálová et al. 2017; Lemke et al. 2021). Low precipitation totals during the vegetation period can represent another limiting factor for the invasion process (Chauvel et al. 2006; Pinke et al. 2011, 2019; Wang et al. 2021; Cho et al. 2022), but in our study area, this limitation does not seem to be important. On the contrary, high precipitation totals combined with cooler weather are as much a limiting factor as low totals and a dry warm climate. Closely related to this factor are the wet soils along rivers and streams, which often contribute to the spread of ragweed (Fumanal et al. 2007; Lavoie et al. 2007; Cho et al. 2022). Although we have recorded only a few populations from these habitats, in the first years of the invasion, it was a relatively common habitat in Slovakia as well. The other factors we investigated have only a local impact on the spread of ragweed.

4.3 Climatic change impact on common ragweed expansion

The presumption that the expansion of ragweed is influenced by global warming has already been developed by many authors (e.g., Essl et al. 2009; Cunze et al. 2013; Rasmussen et al. 2017; Mang et al. 2018; Lemke et al. 2021; Liu et al. 2021). The history of the common ragweed invasion is similar in many countries around the world. Although ragweed was already introduced to various countries at the turn of the 19th and 20th centuries (Rich 1994; Pyšek et al. 2002; Chauvel et al. 2006; Csontos 2010; Tokarska-Guzik et al. 2011), and according to Essl et al. (2009) was in a lag phase, for which adaptation processes are typical (Aikio et al. 2010) and which precedes plant invasions (Larkin 2012), common ragweed in Slovakia did not need a long lag phase for the invasion. It was introduced to Slovakia around 1949 and it immediately began to spread (Jehlík 1998). The curve of cumulative records has a similar course in Slovakia (Hrabovský et al. 2016), Austria (Essl et al. 2009), the Czech Republic (Skálová et al. 2017), and even China (Liu et al. 2021). The reasons for the first common ragweed expansion may be post-war industrial development, and also climatic change. The double S shape of the curve of cumulative records in all countries indicates the second wave of invasion around the year 2000, which continues to this day and again probably reflects climatic change impact.

Based on our distribution models, climatic change seems to be responsible for common ragweed expansion. However, to a small extent, the formation of a new ecotype, which adapts to a shorter life period to avoid early autumn frosts (Fig. 9), can also have an impact on the expansion. Common ragweed is able to shorten its life cycle due to environmental factors and produce seeds of adapted genotypes (Hodgins and Rieseberg 2011; Scalone et al. 2016). An example of such adaptation can be a reduction in genome sizes, causing faster cell division and a shortening of the life cycle (Bennett 1972; Leitch and Bennett 2007). Similar adaptations can partially influence the predicted distribution model for 2040–2061 and common ragweed will more frequently occur at higher altitudes, which will have a negative effect, especially for allergy sufferers.

5 Conclusions

According to our research, common ragweed uses the most optimal conditions for its spread in different times. When highways weren’t being developed and traffic density was lower, agricultural land became the source of its spread. Later, the development of the infrastructure contributed to its expansion to other regions of Slovakia. However, the rise in temperature in mountainous areas, where it would not ordinarily be able to flourish, also contributed to its spread. The prolonged summer days and the continual introduction of seeds from the lowlands allowed populations in the mountain basins to be selected that could produce viable seeds before early autumn frosts. Today, common ragweed can be found more frequently not just in lowlands and mountain basins as a result of climate change. Future records of common ragweed are expected to become increasingly frequent in the Carpathians and it probably became abundant in many sites of the Pannonian lowlands.