Introduction

Animals express many different behaviours that allow them to cope with environmental challenges, thereby enabling them to survive and reproduce (Langenhof and Komdeur 2018). The development of behavioural traits is a product of the interaction between genetic and environmental factors (e.g. Drent et al. 2003; Stamps and Groothuis 2010; Brommer and Kluen 2012; Carere and Maestripieri 2013). In particular, the early-life environment is believed to be crucial for the establishment of behavioural phenotypes because it provides primary cues for the induction of developmental plasticity (Bateson et al. 2014; Groothuis and Taborsky 2015), which in turn generates variation in behaviour among individuals and ultimately affects their fitness (Lindström 1999; Riebel et al. 2012; Kasumovic 2013; Careau et al. 2014; Langenhof and Komdeur 2018). The earliest extrinsic environmental cues experienced by offspring are commonly provided by parents, especially mothers, via environmentally induced pre- and post-natal maternal (parental) effects (Mousseau and Fox 1998). Nevertheless, direct environmental cues encountered early in life by individuals, such as social conditions, may also be crucial to evoke developmental plasticity (Lindström 1999; Fischer et al. 2015). Such early-life programming of individuals, both caused by maternal or direct environmental effects, may be adaptive if phenotypic changes initiated during development increase fitness benefits in later life (Mousseau and Fox 1998; Lindström 1999; Groothuis and Taborsky 2015). However, adaptive phenotypic shaping of behavioural traits is expected to occur only when the developmental environment provides a forecast of future conditions; otherwise, a mismatch between the developmental conditions and the environment experienced later in life can result in maladaptive effects on behavioural phenotypes (Bateson et al. 2014; Groothuis and Taborsky 2015).

In birds, there are three main groups of developmental cues that have a potential for programming offspring behaviour. The first group includes post-natal nutritional conditions, from which the quality and quantity of food available to growing nestlings seem to be crucial for neurodevelopment, and, consequently, behavioural trait expression (Carere et al. 2005; Krause and Naguib 2011; Noguera et al. 2015; van Oers et al. 2015). For example, nestlings of the great tit, Parus major, reared under conditions of food scarcity, became more aggressive and explorative in later life (Carere et al. 2005). In turn, a study on the zebra finch, Taeniopygia guttata, showed that a low-quality diet in terms of micronutrients provided during development results in reduced boldness among male offspring and increased aggressiveness among female offspring (Noguera et al. 2015). The second group of developmental cues includes social conditions occurring in a nest, such as the number of competing nestlings and brood sex ratio, which have found to be significant to modify offspring aggression, stress responses, and exploratory behaviour (Carere et al. 2005; Naguib et al. 2011). The third group includes the activation of the immune system in developing offspring, resulting from an antigenic challenge or parasite exposure (e.g. Bischoff et al. 2009; Butler et al. 2012; Grindstaff et al. 2012). In mallards, Anas platyrhynchos, Butler et al. (2012) found that immunisation of chicks with a non-pathogenic antigen (sheep red blood cells) enhanced the activity of mature offspring in a novel environment. In another study on zebra finches, male but not female nestlings immunised with lipopolysaccharide (LPS) during the growth period became slower learners when they were adult birds (Grindstaff et al. 2012). Interestingly, the same authors have also shown that maternal immune challenge and offspring developmental immunisation interact, affecting neophobia of adult birds in a sex-specific manner. Thus, sons that were immunised with a different antigen than their mothers (mismatching effect) exhibited the least neophobia among the overall offspring (Grindstaff et al. 2012). There is increasing evidence that both maternal and offspring immunisations can affect the neurodevelopmental processes, resulting in subsequent behavioural alterations in adult life (Grindstaff 2016; Boulanger-Bertolus et al. 2018).

Although the number of studies dealing with the consequences of early-life conditions in shaping behavioural traits is increasing, a full understanding of processes linked to the development and establishment of the behaviour of individuals is still lacking (Stamps and Groothuis 2010; Groothuis and Taborsky 2015; Trillmich et al. 2018). Despite growing evidence that post-natal rearing conditions and maternal and/or offspring immune challenges constitute significant developmental cues for eliciting ontogenic changes in bird behaviour (Groothuis and Taborsky 2015; Grindstaff 2016), to our knowledge, no study has assessed the interactive effects of maternal immunisation and altered post-natal rearing conditions on the expression of behavioural traits in avian offspring.

To examine whether maternal immune challenge and post-natal rearing conditions affect offspring behavioural traits (i.e. docility, breathing rate, and aggression) and whether the effects are independent or interactive, we performed an experiment in a natural population of great tits using a 2 × 2 factorial design. First, half of the females were immunised with LPS to simulate bacterial infection, and the other half received a saline injection (control group). LPS is an element of the outer membranes of gram-negative bacteria that induces an acute-phase response with fever and behavioural changes, such as lethargy and anorexia (Hart 1988). It also stimulates the production of proinflammatory cytokines (Klasing and Leshchinsky 1999) and the activation of the hypothalamic-pituitary-adrenal (HPA) axis (Karrow 2006). Moreover, maternal immunisation with LPS results in the production of LPS-specific antibodies, which are then deposited into the eggs and utilised by nestlings (Sunwoo et al. 1996; Merrill and Grindstaff 2014). Two days after hatching, we partially cross-fostered nestlings among the broods of immunised and control females. Simultaneously, to alter post-natal rearing conditions, we enlarged half of the broods of immunised and control females, and the second half remained unmanipulated (control). We also immunised all 5-day-old nestlings with LPS to activate their immune system during development.

It has been documented that nestling immune challenge with LPS during development suppresses offspring growth (Klasing and Leshchinsky 1999; Grindstaff 2008) and impairs learning ability in adult birds (Grindstaff et al. 2012). However, LPS-specific antibodies passed onto nestlings due to maternal immunisation may partially ameliorate the growth-suppressive effects of offspring exposure to LPS (Grindstaff 2008). This may allow LPS-challenged offspring to eliminate the bacterial antigen without an intense stimulation of a costly innate immune response linked to the production of proinflammatory cytokines (Klasing and Leshchinsky 1999). Thus, offspring of LPS-immunised females are expected to better cope with exposure to LPS, avoiding excessive activation of the HPA axis, which should modify the potential effects of such developmental immunisation on behavioural trait expression. Therefore, we predicted that offspring of control and immunised mothers would differ in behaviour; however, we had no specific predictions regarding the direction of such behavioural changes. Furthermore, we expected that offspring reared in enlarged broods will exhibit higher breathing rates and aggression and lower docility than offspring reared in control broods. Indeed, earlier studies have shown that an increase in among-sibling competition and poorer nutritional conditions during development enhanced offspring exploratory behaviour (a trait linked to breathing rate, see Fucikova et al. 2009) and aggression in adult life, which may result from adaptive programming, which prepares them for similar conditions later in life (Carere et al. 2005; Naguib et al. 2011). We also predicted that an immune-mediated maternal effect and altered post-hatching rearing conditions should interactively shape offspring behavioural expression. Previous studies have documented such interactive effects in relation to the development of morphological and physiological traits, indicating that fitness consequences of pre-natal maternal effects may depend on post-natal environmental context (Ismail et al. 2015; Martyka et al. 2018). Therefore, we searched for a significant interaction between maternal immunisation and brood size manipulation to explain variation in offspring behaviour.

Material and methods

Study area and model species

A population of great tit breeding in nest boxes in the northern part of the Niepołomice Forest, southern Poland (50° 06 N 20° 24 E), was the subject of this research. The study area was located in a deciduous forest dominated by oak, hornbeam, and lime trees. In total, there were 233 wooden nest boxes (with interior dimensions: 9.0 × 9.0 × 27.5 cm) on the study plot, approximately distributed in a 50 × 40 m grid. The great tit is a small, sexually dimorphic, cavity-nesting bird commonly used as a model in behavioural research (Fucikova et al. 2009; Naguib et al. 2011; Laine et al. 2016). Great tit females from the studied population produced 1–2 clutches during a single breeding season. Egg incubation in this species lasts approximately 13 days, and after hatching, nestlings are fed by both parents and fledge within the next 15–18 days (Gosler 1993).

General field procedures

At the beginning of April 2014, we systematically monitored nest boxes to determine the laying date and clutch size of all breeding great tit females. When females completed egg laying, we captured them within 3.5 ± 0.1 (mean ± SE) days after the onset of incubation. We then assigned captured females to one of two groups: experimental or control. On the day of capture, females from the experimental group (N = 24) were intra-abdominally injected with 50 μL of LPS (from the Salmonella enterica serotype Typhimurium; Sigma, Cat. No. L-7261) suspended in phosphate-buffered saline (PBS) at a concentration of 0.1 mg kg body mass−1 (e.g. Grindstaff et al. 2006), whereas females from the control group (N = 29) received 50 μL of PBS. On the same day, we measured female body mass (to the nearest 0.01 g using an electronic balance) and individually marked her using numbered aluminium and alphanumeric rings. Females assigned to the experimental and control groups did not differ in body mass (two-sample t-test: t51 = 0.158, P = 0.88) or clutch size (two-sample t-test: t51 = 0.038, P = 0.97) on the day of capture. We then removed the nest together with eggs from the nest box to force females to repeat breeding.

We located and regularly visited replacement nests to indicate the beginning of egg laying and clutch size for the next step. To identify re-nested females, we used alphanumeric rings, which allowed us to easily recognise each female during her stay in a nest box. In total, 40 females started laying replacement clutches, including 24 control and 16 immunised females. Finally, we used 31 broods (16 of control and 15 of immunised females) in our analyses, whereas nine broods served as donor nests (for details, see below). We then established hatching dates by inspecting nest boxes with repeated clutches around the expected hatching date. We performed cross-fostering to control for potentially confounding effects of maternal immunisation on parental provisioning and separate prenatal maternal effects from post-hatching rearing conditions. On the second day after hatching (hatching day = day 0), we swapped half of the nestlings among pairs of broods belonging to immunised and control females. We matched those dyads only when they had the same hatching date and clutch size (± 1 egg). Before cross-fostering, we measured the body mass of all nestlings and ranked them in relation to their body mass. Next, we swapped every second nestling based on their body mass rank such that cross-fostered nestlings represented all mass hierarchies observed within the original broods (Brommer and Kluen 2012; van Oers et al. 2015). We could not perform cross-fostering for all replacement nests because there were not enough broods of immunised and control females with the same hatching date or a similar clutch size, and consequently, others could not be matched. Consequently, our dataset included 18 cross-fostered and 13 non-cross-fostered broods (six from immunised females and seven from control). On day 2 after hatching, we found no differences in log-transformed nestling body mass (paired t-test: t17 = − 0.540, P = 0.60) or brood sex ratio (paired t-test: t15 = 0.098, P = 0.92) within the same nest, before and after cross-fostering. The log-transformed body mass of 2-day-old nestlings did not differ among siblings that stayed in their original broods and those swapped to foster broods (linear mixed model [LMM] with female identity as a random factor and nestling status, moved vs. not moved, as a fixed factor: F1, 129.8 = 0.10, P = 0.76). Additionally, there were no differences in log-transformed body mass on day 2 (LMM with female identity and foster female identity as random factors and brood status, cross-fostered vs. non-cross-fostered, as a fixed factor: F1, 26.7 = 0.03, P = 0.87) or brood sex ratio (two-sample t-test: t25 = − 0.944, P = 0.35) between cross-fostered and non-cross-fostered nests (after cross-fostering was performed).

On day 2 after hatching, shortly after performing cross-fostering, we also manipulated brood size in nests of immunised and control females. To obtain a standardised difference in rearing conditions between them, we added three extra nestlings originating from donor nests to randomly chosen broods within a dyad, with the second remaining unmanipulated (Dubiec et al. 2006; Arct et al. 2013). We performed the same treatment among non-cross-fostered nests; half of the broods of immunised and control females were enlarged, whereas the second half were unmanipulated. The extra nestlings originated from nine donor nests that were non-cross-fostered broods of eight control females and one immunised female. Extra nestlings came from broods with a similar hatching date as enlarged broods, and their body mass was within the range of body mass recorded among nestlings in the brood being enlarged. Neither additional nestlings nor donor broods were included in the analyses. After cross-fostering and brood size manipulation, we had four groups of offspring: nestlings of control females reared in non-manipulated (control) broods, nestlings of control females reared in enlarged broods, nestlings of immunised females reared in non-manipulated (control) broods, and nestlings of immunised females reared in enlarged broods. There were no differences among the four groups of offspring, either in the case of log-transformed body mass on day 2 (LMM with female identity and foster female identity as random factors, and maternal immunisation and brood size manipulation, as well as their interaction, as fixed factors: F1, 184.8 = 0.01, P = 0.91) or brood sex ratio (GLM: F1, 23 = 0.78, P = 0.39), as revealed by the non-significant interaction between maternal immunisation and brood size manipulation.

Procedures for nestlings

We measured nestling body mass and individually marked them by clipping their nails 2 days after hatching. We repeated nail clipping in 5-day-old nestlings (the same code used), which allowed us to identify and ring the nestlings on day 14. On day 5 after hatching, we also intra-abdominally injected all nestlings with 25 μL of LPS suspended in PBS with a concentration of 0.1 mg kg body mass−1 (see Grindstaff et al. 2006). When nestlings reached 14 days after hatching, we again determined the nestling body mass and measured their tarsus and wing length. Body mass was measured to the nearest 0.01 g using an electronic balance, the tarsus was measured to the nearest 0.1 mm using an electronic calliper, and the wing was measured to the nearest 1 mm using a ruler. All nestlings were treated as similarly as possible during handling.

Offspring behaviour assays

To quantify behavioural traits in fledged offspring, i.e. docility, breathing rate, and aggression, we used a previously applied protocol by Brommer and Kluen (2012). On day 14 after hatching, we took all nestlings from the nest box individually and placed each in an individually numbered paper bag (with dimensions: 16.5 × 28 × 6 cm). When all nestlings were placed in their paper bags, we mixed the order of all bags to randomise further handling during behavioural tests. Next, we opened each paper bag and measured offspring behaviour. Briefly, a nestling was taken from the bag and immediately placed on the palm of the observer’s hand in a specific position wherein the nestling was laid on its back, with its neck held between the observer’s index and middle finger, and one leg held by the foot between the thumb and index finger, while the second leg was held by the middle and ring fingers. The secured nestling was placed at an approximate distance of 40 cm from the observer’s face. The stopwatch was on, and the number of nestling struggles was counted for a period of 10 s. Finally, the number of struggles per second was multiplied by − 1 to ensure that lower scores reflected less docile offspring (wigglier). Docility is a measure that may indicate the obstinacy of an individual (David et al. 2011) and also reflects susceptibility to predation (Møller et al. 2011). After ending the docility measurement, we immediately evaluated the breathing rate while still keeping the nestling in the same position. The observer measured the time required to take 30 breaths using the lap time function. This assay was performed twice (without delay) to obtain two measurements. The breathing rate was estimated using the average of those measurements and expressed as the number of breaths per second. Most studies assume a positive association between breathing rate and stress experienced by individuals during handling, suggesting that breathing rate is a good measure of stress in birds (Carere and van Oers 2004; Naguib et al. 2011; van Oers et al. 2015). Moreover, nestling handling stress, measured by counting breaths, is a positive predictor of exploratory behaviour in adult great tits (Fucikova et al. 2009). The last test of handling aggression was performed during ringing and morphological measurements of nestlings (see ‘Procedures for nestlings’). During that time, lasting approximately 3 min, we quantified nestling aggression using a Likert-scale score that determines the extent of aggressive responses of birds, such as picking and/or struggling when an individual is handled. This index score ranges from 1, indicating an individual that is passive, to 5 for an individual that picks and struggles during the entire handling time (for more details, see Brommer and Kluen 2012). All behavioural measurements were performed by RM. It was not possible to record data blind because our study involved focal animals in the field.

Nestling sex determination

To obtain DNA samples for offspring sex determination, we used blood samples collected from 5-day-old nestlings, tissue samples taken from dead nestlings (until day 5), and embryos (unhatched eggs). Offspring sex was successfully determined in 234 of 239 collected samples from live and dead nestlings and all embryos (13). Blood and tissue samples were kept in 96% ethanol (0.5 mL) and stored at room temperature until analysis. DNA was extracted with Chelex 5% (Sigma-Aldrich, Saint Louis, MO, USA), and sexing was performed by the amplification of two homologous genes (CHD1-W and CHD1-Z) following the protocol described by Griffiths et al. (1998).

Statistical analyses

We fitted a generalised linear model with binomial error variance and a logit link function to assess the probability of re-nesting among control and immunised females. To compare differences between control and immunised females in relation to the time required for a female to re-nest, clutch size of replacement nests, hatching success (the proportion of hatched eggs within a clutch), and primary brood sex ratio (the proportion of males within a clutch, including unhatched eggs and dead nestlings), we performed two-sample t-tests, with correction for unequal variances when necessary. Pearson’s correlation tests were used to determine the relationships between the examined behavioural traits. To analyse body mass on days 2 and 14 after hatching, the length of the tarsus and wing and behavioural traits in fledged offspring, we fitted LMMs using the lme4 package (Bates et al. 2015). A model that analysed nestling body mass on day 2 included maternal immunisation (control vs. immunised females) and offspring sex (females vs. males, to control for potential sex-specific effects) as categorical fixed factors. Models analysing the remaining dependent variables included the following categorical fixed factors: maternal immunisation, brood size manipulation (control vs. enlarged broods), offspring sex, and measure order (factor with 11 levels, only in analyses of offspring behaviour). Measure order reflected the sequence in which offspring were measured during behavioural tests and served to control for the period when offspring were isolated from siblings. Such isolation might be stressful for nestlings; thus, it may potentially affect the results of behavioural measurements (Brommer and Kluen 2012). Nestling body mass on day 2, divided into two standardised covariates representing between- and within-brood effect (see van de Pol and Wright 2009), were introduced in all models to control for the effect of early-life conditions on traits measured at 14 days of age. In models analysing behavioural traits, we added offspring body mass on day 14 (also as two standardised covariates attributed to between- and within-brood effect, see van de Pol and Wright 2009) to account for an individual’s condition on the day of behavioural measurements. There was no problem with collinearity when body mass on days 2 and 14 was analysed in the same models (variance inflation factor < 2). In all LMMs, we also tested the following two-way interactions: maternal immunisation × brood size manipulation (a primary interest), maternal immunisation × offspring sex, and brood size manipulation × offspring sex (to test for potential sex-specific effects of the treatments). To reduce the initial models, we dropped covariates and interactions with P > 0.05, starting with the least significant terms. Only marginally non-significant effects (close to 0.05) were retained because of a better model fit. The nest of origin (female identity) and the nest of rearing (female foster identity) were included in all LMMs as random factors, except for the model examining nestling body mass on day 2 (only female identity included). To obtain the significance of random factors, we performed a likelihood ratio test implemented in the lmerTest package (Kuznetsova et al. 2017). We also partitioned variance components for each final model to determine how much variance was explained by the nest of origin and rearing among the examined morphological and behavioural traits. For this purpose, we used the insight package (Lüdecke et al. 2019), which allowed to estimate variance for all model terms, i.e. fixed factors (pulled), each random factor, and residuals. All models were checked for normality and heteroscedasticity of residuals, and if necessary, a dependent variable was transformed. To examine fixed effects in LMMs, we performed F-tests, in which the degrees of freedom were approximated by the Kenward-Roger method, using the pbkrtest and lmerTest packages (Halekoh and Hojsgaard 2014; Kuznetsova et al. 2017). To perform post hoc pairwise contrasts of the least square means for factors involved in interactions, we used the emmeans package (Lenth 2020). Moreover, the marginal and conditional R2 for LMMs were calculated using the MuMIn package (Bartoń 2020). The significance level of all tests was set at P ≤ 0.05. Sample sizes differed among analyses because of female nest abandonment, nest predation, or missing measurements. The results are presented as the raw mean ± SE. All analyses were performed in the R environment (R Core Team 2020).

Results

Effects of immunisation on maternal reproductive investment and early body mass of nestlings

The probability of re-nesting did not differ between immunised and control females (Wald χ21 = 1.79, P = 0.18; N = 53). Control and immunised females began repeat breeding at a similar time (t16.1 = − 1.143, P = 0.27; N = 31), and they also did not differ in the size of replacement clutches (t29 = 0.048, P = 0.96; N = 31). Maternal immunisation did not influence hatching success (t29 = − 0.734, P = 0.27; N = 31) or primary brood sex ratio (t27 = 0.359, P = 0.72; N = 29). The body mass of 2-day-old nestlings did not differ between control and immunised females, and it also did not depend on offspring sex (Table 1). The nest of origin explained 13% of the variation in body mass on day 2 (Table 1).

Table 1 Results of linear mixed models analysing body mass on days 2 and 14 after hatching, and tarsus and wing length on day 14 in offspring. Full models included maternal immunisation (control vs. immunised females), brood size manipulation (control vs. enlarged broods), and offspring sex (females vs.males) as categorical fixed factors. Moreover, standardised between- and within-nest effects of nestling body mass on day 2 were entered into models as covariates (except for the analysis of body mass on day 2). Nest of origin and rearing nest were introduced in all models as random factors (estimates of each variance component are shown accompanied with CIs and the proportion of variance explained). Presented are reduced (final) models after removing non-significant covariates and two-way interactions among maternal immunisation, brood size manipulation, and offspring sex (if P > 0.05). Marginal and conditional R2 for final models are shown. Significant terms are in bold

Effects of maternal and brood treatments on offspring conditions

The body mass of 14-day-old nestlings was affected by an interaction between maternal immunisation and brood size manipulation and marginally by an interaction of maternal immunisation and nestling sex, and by the within-nest effect of nestling body mass on day 2 (Table 1). The first interaction showed that nestlings reared in unmanipulated (control) broods were significantly heavier than those reared in enlarged broods if they originated from control females (post hoc contrast: t-ratio21.1 = 3.453, P = 0.002; Fig. 1). This effect was absent in the case of offspring originating from immunised females (post hoc contrast: t-ratio24.3 = 1.513, P = 0.14; Fig. 1). Moreover, offspring of immunised females tended to be heavier than offspring of control females when reared in enlarged broods (post hoc contrast: t-ratio14.0 = − 2.137, P = 0.051; Fig. 1), but there was no significant difference between the offspring of immunised and control females reared in control broods (post hoc contrast: t-ratio19.7 = 1.092, P = 0.29; Fig. 1). The latter interaction was caused by a difference in body mass between male and female nestlings that was larger among offspring originated from immunised mothers (males vs. females: 17.4 ± 0.3 and 16.0 ± 0.3 g; post hoc contrast: t-ratio139.0 = − 4.294, P < 0.001) than among those originated from control mothers (males vs. females: 16.7 ± 0.2 and 16.0 ± 0.3 g; post hoc contrast: t-ratio136.0 = − 2.388, P = 0.018). Offspring of the same sex originating from immunised and control females did not differ in body mass (post hoc contrast for males: t-ratio11.2 = − 1.456, P = 0.17; post hoc contrast for females: t-ratio18.1 = 0.513, P = 0.61). At 14 days after hatching, the offspring body mass variation was mainly attributed to the rearing nest (40%, Table 1). In contrast, a small part of the variation was determined by the non-significant effect of the nest of origin (only 4%, Table 1).

Fig. 1
figure 1

Offspring body mass on day 14 in relation to maternal immunisation (control females [blue] vs. immunised females [red]) and brood size manipulation. Raw means with SEs are shown. Sample sizes are noted above bars

Nestling tarsus length on day 14 was influenced by an interaction between maternal immunisation and brood size manipulation, offspring sex, and the within-nest effect of body mass on day 2 (Table 1). The interaction was caused by a difference in tarsus length between offspring originating from control and immunised females when reared in control broods (post hoc contrast: t-ratio27.4 = 3.245, P = 0.003; Fig. 2), but not when they were reared in enlarged broods (post hoc contrast: t-ratio22.9 = 0.090, P = 0.93; Fig. 2). Additionally, nestlings of control females reared in control broods had longer tarsi compared to those reared in enlarged broods (post hoc contrast: t-ratio26.5 = 2.063, P = 0.049; Fig. 2), with no such effect among nestlings of immunised females (post hoc contrast: t-ratio35.2 = − 1.024, P = 0.31; Fig. 2). Male offspring had longer tarsi than female offspring on day 14 after hatching (20.0 ± 0.1 vs. 19.5 ± 0.1 mm; Table 1). The variation in tarsus length on day 14 was determined by the nest of rearing (14%), with less variation attributed to the non-significant effect of the nest of origin (6%, Table 1).

Fig. 2
figure 2

Offspring tarsus length on day 14 in relation to maternal immunisation (control females [blue] vs. immunised females [red]) and brood size manipulation. Raw means with SEs are shown. Sample sizes are noted above bars

Offspring reared in enlarged broods had a shorter wing length than offspring reared in control broods (45.9 ± 0.4 vs. 47.9 ± 0.4 mm, respectively; Table 1). Male offspring had longer wings than female offspring (47.6 ± 0.4 vs. 45.8 ± 0.5 mm, respectively; Table 1). The within-nest effect of body mass on day 2 positively predicted offspring wing length on day 14 after hatching (Table 1). The nest of origin and rearing nest explained a similar proportion of the total variance in wing length at 14 days of age, i.e. 10% and 16%, respectively (Table 1).

Effects of maternal and brood treatments on offspring behaviour

Post-hatching brood size manipulation affected the breathing rate and aggression of offspring, but a similar effect was not found with respect to docility (Table 2). Contrary to brood treatment, we failed to detect any effect of maternal immunisation on the behavioural traits of the offspring (Table 2). Offspring reared in enlarged broods exhibited a lower breathing rate than offspring reared in control broods (Table 2, Fig. 3). Moreover, female offspring tended to breathe at a higher rate than male offspring, regardless of treatment (1.682 ± 0.039 vs. 1.675 ± 0.033 breaths per sec., respectively; Table 2). The breathing rate was also positively correlated with the body mass of 14-day-old nestlings (as the within-nest effect only, Table 2). The breathing rate variance explained was the same for the nest of origin (17%) and the nest of rearing (17%, Table 2). Similar to the breathing rate, the aggression of offspring from enlarged broods was lower than that of offspring from unmanipulated broods (Table 2, Fig. 4). Furthermore, offspring aggression was positively correlated with body mass on day 2 (both between- and within-nest effects, Table 2). The rearing nest explained a non-significant 6% of the variance in offspring aggression (Table 2). Female offspring were more docile than male offspring (− 0.33 ± 0.06 vs. − 0.46 ± 0.05, − 1 × no. struggles per sec., respectively; Table 2). The degree of docility expression in 14-day-old nestlings was negatively correlated with body mass on day 2 and positively correlated with body mass on day 14 (both as within-nest effects, Table 2). Only the nest of origin explained 11% of the offspring docility variance, but this term was not significant (Table 2). We found a negative correlation between offspring aggression and docility (r = − 0.48, P < 0.001, N = 178), a weak positive correlation between aggression and breathing rate (r = 0.15, P = 0.04, N = 178), and a non-significant correlation between breathing rate and docility (r = − 0.06, P = 0.43, N = 178).

Table 2 Results of linear mixed models examining docility, log-transformed breathing rate, and square root–transformed aggression of offspring on day 14 after hatching. Full models included maternal immunisation (control vs. immunised females), brood size manipulation (control vs. enlarged broods), offspring sex (females vs. males), and a measure of order (11 levels) as categorical fixed factors. Moreover, standardised between- and within-nest effects of nestling body mass on days 2 and 14 were entered into models as covariates. Nest of origin and rearing nest were introduced in all models as random factors (estimates of each variance component are shown accompanied with CIs and the proportion of variance explained). Presented are reduced (final) models after removing non-significant covariates and two-way interactions among maternal immunisation, brood size manipulation, and offspring sex (if P > 0.05). Marginal and conditional R2 for final models are shown. Significant terms are in bold. *Omitted values because of the 11 levels of the factor
Fig. 3
figure 3

Offspring breathing rate in relation to brood size manipulation. Raw means with SEs are shown. Sample sizes are noted above bars

Fig. 4
figure 4

Offspring aggression in relation to brood size manipulation. Raw means with SEs are shown. Sample sizes are noted above bars

Discussion

To our knowledge, this is the first study to examine the mutual influence of immune-mediated maternal effects and post-hatching rearing conditions on the development of offspring behavioural traits in birds. Contrary to our predictions, we did not detect an interaction between maternal immunisation and brood size manipulation, which could explain the variation in the examined behavioural traits of the fledged offspring. A lack of such interaction was primarily caused by the fact that we found no effect of maternal immune challenge on offspring behaviour. This result was surprising because we detected that maternal treatment and brood size manipulation interacted to affect body mass and size of 14-day-old offspring.

We found that brood enlargement negatively affected body mass and tarsus length of offspring that hatched from the eggs of control females. This indicated that our brood size manipulation was an efficient procedure for varying nutritional and competitive conditions among nests. These findings were also concordant with the results of previous studies indicating that harsh rearing conditions resulting from increased brood size suppressed offspring growth and led to a lower body mass and shorter tarsus length at fledging (e.g. Hõrak et al. 1999; Dubiec et al. 2006; Martyka et al. 2018). However, in the case of offspring of immunised females, brood size manipulation did not affect either body mass or tarsus length. Moreover, we revealed that offspring originating from immunised mothers tended to be heavier than offspring of control mothers when reared under harsh conditions, but not when they were reared in a favourable nest environment. However, offspring of immunised mothers had shorter tarsi compared to offspring of control mothers when reared in control broods, but this effect did not occur in enlarged broods. These findings suggested that offspring of immunised females benefited from maternal treatment only when they were reared under harsh conditions. The costs of the immune response to LPS exposure during offspring development, mainly caused by suppressing body mass gain, might be higher in poor than in favourable nutritional conditions. Support for this idea comes from studies examining the trade-off between growth and immune function in avian offspring (Hõrak et al. 1999; Brommer 2004). Maternally derived immune agents (i.e. antibodies) to offspring via eggs can help them cope with infection and thus reduce the adverse effects of developmental immunisation on growth (Grindstaff 2008). However, this may be especially advantageous when offspring are reared under harsh conditions, but not if such conditions are ‘optimal’ (Martyka et al. 2018). The differences in patterns of body mass and tarsus length in relation to maternal immunisation and brood size manipulation may indicate different strategies of resource allocation. Body mass gain and skeletal growth of offspring, at least until fledging, may be prioritised differentially, depending on maternal and offspring exposure to an antigen and brood size during nestling development (Grindstaff et al. 2012; Martyka et al. 2018). Overall, these results confirmed earlier findings that the potential influence of immune-mediated maternal effects on offspring phenotype might be modulated by various post-hatching rearing conditions (Ismail et al. 2015; Martyka et al. 2018). The observed effects of maternal immunisation on offspring body mass and size seem to come primarily from differences in egg composition; mostly antibodies but also hormones might be involved (Bowers et al. 2015). We found no effects of maternal immune challenge on primary reproductive effort. Additionally, we partially cross-fostered nestlings among the broods of immunised and control females. Thus, it is unlikely that our results were biased because of potential carry-over effects resulting from maternal immunisation.

As previously shown, immune-mediated maternal effects and post-natal rearing conditions can play a mutual role in determining offspring body mass and size (present study; Ismail et al. 2015; Martyka et al. 2018). Therefore, the question is why we failed to detect the effects of maternal treatment on offspring behaviour. First, this result may suggest that nestling exposure to LPS did not affect offspring neurodevelopment to such an extent that allowed the detection of potential changes in behavioural traits as a result of maternal immune challenge. However, our research was limited to recognising the short-term effects of treatment on offspring behaviour. Therefore, we cannot exclude the possibility that potential effects of maternal immunisation, which were expected to modify the impact of offspring exposure to LPS on behaviour, could appear later in life. Adult birds can more actively respond to environmental and social stressors than nestlings, indicating that the expression of behavioural traits may vary between successive stages of life. Indeed, different behavioural responses to the environment can have distinct adaptive values at different periods in life or across environmental contexts (Naguib et al. 2011; Groothuis and Taborsky 2015). Therefore, even though environmental circumstances can have a significant influence on behavioural development, such factors still may not lead to immediate consequences for offspring behaviour at the fledgling stage; instead, they may be delayed in time and ultimately revealed in adulthood. Second, maternal treatment would not affect offspring behaviour if nestling exposure to LPS does not provide a reliable cue for adult life conditions. It has been hypothesised that early developmental conditions may have long-lasting consequences for organisms only when they reliably predict future adult environments (Bateson et al. 2014). Third, even though we found that maternal immunisation and brood size manipulation interactively affected offspring growth, we cannot exclude that such interactive effects might not be passed on offspring behaviour in a straight way. For example, Grindstaff et al. (2012) found that maternal and developmental immunisation interactively affected body mass gain in offspring, but the observed pattern of body mass changes did not reflect alterations observed in behaviour after the treatments. This suggests that the development of morphological and behavioural traits are followed, to some extent, by different mechanisms, and there is no simple connection between morphological developmental trajectories and neurodevelopment. Furthermore, we examined only three easily tested behavioural traits without looking at other traits potentially sensitive to immune activation. To date, offspring exposed to LPS during early life has been shown to have a lower potential for learning and memorisation, and this was found both in birds (Grindstaff et al. 2012) and mammals (Bilbo and Schwarz 2009). Very few studies have examined the effects of maternal or neonatal immune challenges on the development and expression of behavioural traits in avian offspring, and those studies that exist do not show a common pattern. For example, in the same study on zebra finches, the authors showed that nestling exposure to LPS caused males to be more neophobic than females if their mothers were previously immunised with antigens other than LPS, but there were no such sex differences in neophobia in offspring if mothers were immunised with LPS or came from the control group (Grindstaff et al. 2012). Additionally, mechanisms underlying the process linked to immune activation and its effects on neurodevelopment and, consequently, behavioural expression are poorly understood (Grindstaff 2016). These facts make it difficult to interpret our results and lead to highly speculative explanations.

Interestingly, our study demonstrated that manipulating post-hatching rearing conditions independently affected offspring behaviour. We found that two of the three traits examined in offspring, i.e. breathing rate and aggression, were shaped by brood size manipulation. In contrast, docility was not affected by this treatment. The observed effects of brood enlargement on the breathing rate and offspring aggression were the opposite of previous research results. Earlier studies have shown that adverse rearing conditions during nestling development (i.e. poor nutrition) increase rather than decrease the level of physiological stress responses (Kitaysky et al. 2001), handling stress (van Oers et al. 2015; but see Naguib et al. 2011), and aggression in the offspring (Carere et al. 2005). In contrast, we found that offspring reared under harsh rearing conditions exhibited lower breathing rates and aggression than offspring reared in unmanipulated broods. These are puzzling results because it is expected that offspring reared in a competitive environment should be more aggressive, allowing them to take more resources during development and adapt to similar environmental conditions in the future (Carere et al. 2005; Naguib et al. 2011). However, increased aggression, especially under highly competitive rearing conditions, may not create benefits for individuals when the among-individual competition is lower (Duckworth 2006). Therefore, in particular environmental or social circumstances, individuals may be expected to alter their aggression level such that the potential costs do not exceed the benefits of that behaviour. Similarly, breathing rate should also be higher when rearing conditions are harsh, as increased competition for food may generate substantial stress among siblings, partially as a result of enhanced aggression. Breathing rate as a measure of offspring handling stress is a positive predictor of exploratory behaviour in adult life (Fucikova et al. 2009). Thus, if nestlings encounter poor nutritional conditions during development and there is a match with subsequent environmental conditions occurring in their adult life, then the higher level of stress experienced during ontogeny would be adaptive and provide long-lasting fitness benefits (Bateson et al. 2014; Groothuis and Taborsky 2015). However, this was not the case, and we found a reverse pattern in breathing rate in relation to brood size enlargement in our study. Notably, the lower breathing rate and aggression among offspring from broods containing more nestlings may result from the feeding behaviour of parents raising enlarged broods. For instance, they could change the quality or quantity of food items delivered to offspring, which might affect the brain development of offspring and ultimately their stress response and/or aggression. García-Navas and Sanz (2010) found that blue tit Cyanistes caeruleus parents raising nestlings in enlarged broods provisioned them with a significantly larger number of caterpillars and a smaller number of spiders than parents in control or reduced broods. Among arthropods, spiders are the primary source of taurine (Ramsay and Houston 2003), that is, sulfonated amino acid, which plays a role in neuronal development and influences behavioural trait expression (Franconi et al. 2004). Indeed, Arnold et al. (2007) experimentally manipulated the taurine level provided to offspring during development and showed that nestlings supplemented with a higher amount of taurine exhibited lower neophobia and greater risk-taking behaviour. In turn, van Oers et al. (2015) documented that the biomass of caterpillars, but not spiders, affected the level of handling stress in great tit offspring, indicating that nestlings provisioned by a larger number of caterpillars were less stressed. Thus, we speculate that differences in diet resulting from the response of parents to brood size may be significant to the establishment of some behavioural traits. However, Naguib et al. (2011) demonstrated that great tit offspring reared in smaller broods exhibited higher stress levels than those reared in normal-sized broods. The authors suggested that this result may be caused by different parental feeding behaviour patterns, as we suggest above, higher thermoregulatory costs, or more space for sibling competition regarding parental care. We have a similar situation in which unmanipulated broods are numerically smaller than enlarged broods; thus, some of those proposed explanations could also be applied to our study results.

In conclusion, our experimental study did not detect the effects of maternal immunisation on offspring behaviour; thus, we were also unable to find any interactive effects of maternal immune challenge and brood size manipulation. We found that two of the studied behavioural traits were affected by brood enlargement. Because of the limited number of studies testing the mutual influence of immune-mediated maternal effects and the post-hatching rearing environment on behavioural trait expression under natural conditions in birds, our study contributes to better understanding of the processes that underlie the shaping of an individual’s behaviour.