{'fraction_non_alphanumeric': 0.03897084446509467, 'fraction_numerical': 0.02677430595888024, 'mean_word_length': 4.89371897997604, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Phantom of the forest or successful citizen? Analysing how Northern Goshawks (Accipiter gentilis) cope with the urban environment

By 2040, roughly two-thirds of humanity are expected to live in urban areas. As cities expand, humans irreversibly transform natural ecosystems, creating both opportunities and challenges for wildlife. Here, we investigate how the Northern Goshawk (Accipiter gentilis) is adjusting to urban environments. We measured a variety of behavioural and ecological parameters in three urban and four rural study sites. City life appeared related to all parameters we measured. Urban female goshawks were overall 21.7 (CI95% 5.13–130) times more likely to defend their nestlings from humans than rural females. Urban goshawks were 3.64 (CI95% 2.05–6.66) times more likely to feed on pigeons and had diets exhibiting lower overall species richness and diversity. Urban females laid eggs 12.5 (CI95% 7.12–17.4) days earlier than rural individuals and were 2.22 (CI95% 0.984–4.73) times more likely to produce a brood of more than three nestlings. Nonetheless, urban goshawks suffered more from infections with the parasite Trichomonas gallinae, which was the second most common cause of mortality (14.6%), after collisions with windows (33.1%). In conclusion, although city life is associated with significant risks, goshawks appear to thrive in some urban environments, most likely as a result of high local availability of profitable pigeon prey. We conclude that the Northern Goshawk can be classified as an urban exploiter in parts of its distribution.


Introduction
Urbanization constitutes one of the most dramatic human-driven transformations of natural ecosystems [1]. By 2040, approximately two-thirds of the world´s human population may be living in urbanized areas [2]. For wildlife, urbanization can present both opportunities and major challenges. While some species are extremely sensitive to habitat disturbance and disappear quickly, others can adapt to urban habitats while continuing to use natural resources, and some species even thrive as urban commensals, to the point that they become dependent on urban resources [3]. Accordingly, Blair [4] proposed to classify species into 'urban avoiders', 'suburban adapters' and 'urban exploiters', depending on how they cope with the urban environment.
The Northern Goshawk (Accipiter gentilis) (henceforth 'goshawk') is sometimes referred to as the 'phantom of the forest' by bird watchers and raptor enthusiasts, because of its secretive habits. In the past, persistent persecution by humans presumably favoured relatively shy individuals that avoid humans [5,6]. Goshawks are thus considered urban avoiders throughout most of their range [7]. Nevertheless, goshawks have started colonizing several European cities [6], notably in Germany, where first urban breeding attempts occurred in the 1980s, followed by rapid population expansions in the 1990s, and saturation in recent years [8][9][10]. In these cities, the species has reached some of the densest populations recorded for the species worldwide [8][9][10][11][12].
Density alone, however, is not an adequate measure of successful colonization. Perceived habitat attractiveness could result in high population densities in cities, even though urban individuals may experience higher mortality and/or reduced fecundity rates compared with rural areas, resulting in an ecological trap [13]. For example, Cooper's hawks in Arizona are attracted to cities by vacant nesting sites and abundant prey, leading to stable populations; yet, breeding pairs suffer from rates of parasite-induced nestling mortality that are so high that urban populations would not persist if it were not for the constant immigration of individuals from surrounding rural areas [14,15]. Similar population trajectories are also conceivable for goshawks. More generally, understanding why some species adjust well to urban habitats and the presence of humans, while others do not [16,17], is a major research challenge in urban ecology. Comprehensive studies encompassing measures of both potential benefits and costs of living in urban habitats are hence urgently needed.
Here, we investigate, with appropriate population-level replication, how goshawks have adjusted to urban habitats. We start by analysing the potential benefits of urban life, by measuring three different variables: (i) behavioural responses, as behaviour is a key determinant for the success of wildlife in urban environments [17,18], (ii) diet composition, since urban goshawks appear to specialize on hunting pigeons, which are particularly abundant in cities [12,19,20], and (iii) breeding performance, as some studies reported that goshawks start breeding earlier in cities and/or exhibit higher fecundity rates in urban than in rural areas [9,10,20]. We then assess two variables that could reveal potential costs of living in urban habitats: (iv) health status, which could be poorer in urban goshawks if their diet contains more pigeons, which are the main host of Trichomonas gallinae-the agent of the disease trichomonosis [21,22], and (v) causes of mortality, since the pursuit hunting style of goshawks could make it particularly vulnerable to collisions with human-made obstacles in urban areas [23][24][25].

Study sites and samples
The study was carried out between 2014 and 2016 in three urban and four rural study sites in northern parts of Germany (figure 1). The urban sites were three cities with human populations of over 1 million each: Berlin, Cologne and Hamburg. The rural 'control' sites were located in the area of Barnim, the lower Rhine area near Kleve, rural areas around Schleswig, as well as areas inside the Teutoburg forest around Bielefeld.
Goshawk territories were surveyed within each of the seven locations, resulting in the monitoring of 20 to 60 nests per location per year. Each nest was checked every two to four weeks for signs of successful breeding from February to June. Nestlings in successful nests were banded and sampled at a minimum age of approximately 14 days. Nestlings were handled on the ground and later returned to the nest. Some territories were investigated over multiple study years. In total, we were able to sample 544 goshawk nestlings in 196 nests in 133 different territories (table 1). The age of breeding goshawks was classified as first year, second year and adult (≥ three years) based on plumage colour patterns [5]. From the 196 sampled nests, we were able to identify the age of the breeding female in 116 cases. All but two individuals were identified as adults. For this reason, we excluded the variable 'age of breeding goshawks' from further analyses.
All procedures were performed in accordance with the requirements of the Leibniz Institute for Zoo and Wildlife Research Ethics Committee on Animal Welfare. The banding and handling of goshawk nestlings was approved by the ornithological stations of Radolfzell, Hiddensee and Helgoland.

Behavioural responses
Female goshawks tend to remain at, and defend, the nest throughout the nestling period [5]. We measured females' reaction to the person climbing the nest tree at the time of banding nestlings in 2015 and 2016, distinguishing four response levels: 0 = no reaction, 1 = alarm calls, 2 = feint attack and 3 = physical attack. An aggression level of 0 can include cases when the bird was absent (after three weeks, adult females may leave the nest site to hunt), or when it was present at the nest site but was not seen and did royalsocietypublishing.org/journal/rsos R. Soc. Open Sci. 7: 201356 not react; we were unable to distinguish between these scenarios, highlighting the scope for systematic sampling bias [26]. Nestlings were of similar age in urban and rural areas at the time of sampling (median age of youngest nestlings for urban territories = 21 days, N = 77; rural territories = 20 days, N = 74; Mann-Whitney U test: W = 4315.5, p = 0.268). Nevertheless, since the availability of prey may differ between the two habitats, it is possible that parents spent more time foraging and thus were more often absent from the nest area, in the habitat exhibiting comparatively lower prey availability. We therefore distinguished nests with young nestlings (16 days and younger) from those with older nestlings in analyses (dummy coded); no major difference in female presence would be expected for young nestlings as they are strictly dependent on their mothers [5,27]. The reaction of males was not considered in our analyses, as they are routinely hunting outside the nest area during the nestling period [5].

Diet composition
Prey remains were collected approximately every two weeks during the breeding season in 2016 (from March until July), for the following number of nesting territories: 17 territories in Berlin; 14 in Hamburg; 27 in Cologne; 8 in the rural habitat near Barnim; 20 near Kleve; 7 near Schleswig and 0 near Bielefeld. Estimation of diet composition from prey remains was carried out following Rutz [28]. We also collected pellets and identified their prey content via genetic analysis (see electronic supplementary material). Pellets can reveal the presence of small mammals and birds in the diet of raptors which are otherwise difficult to record. To avoid double-counting of prey items on any given sampling day, we excluded species from pellets that were also present in prey remains. We calculated species richness as the number of different prey species recorded per territory, overall species richness as the total number of different prey species recorded per habitat, and diversity using Simpson's index [29]. We also constructed rarefaction curves to explore how species richness is affected by the number of territories sampled using the R package vegan v. 2.5-6 [30].

Breeding performance
To compare the breeding performance of urban and rural goshawks, we used the laying date of the first egg and the brood size of each adult female. Nestling age was determined by measuring wing length and body mass, following Bijlsma [31]. From this, we back-calculated the laying date as being 38 days (it varies between 35 to 43 days [5,32]) before the inferred hatching date. In statistical analyses, the laying date was coded as the number of days since 31 December (i.e. 1 January = 1, 2 January = 2 and so on). We defined the brood size as the number of nestlings present in the nest at the time of banding. We used a Mann-Whitney U test, as implemented by the function wilcox.test in R, to compare the brood size of rural and urban goshawks (without controlling for any confounding variables). For fitting linear models, we recoded brood size as a two-level factor (small brood: 1-2 nestlings; large brood: 3-5 nestlings) due to the particular distribution of this variable (see electronic supplementary material for details).

Health status
Nestlings were examined during banding between May and June, when they were between 11 and 40 days old (median age for rural nestlings = 23 days, N = 257; median age for urban nestlings = 24 days, N = 285; two nestlings were not measured). The body mass of a nestling combined with its wing length measurement allowed us to distinguish males and females, as females are significantly larger [31]. All nestlings were tested for the presence of the endoparasite T. gallinae by taking a sample from the oesophagus using sterile cotton swabs and also examined for clinical signs of the disease trichomonosis. After sampling, swabs were stored in a special culture medium (InPouch TV, Biomed Diagnostics, White City, US) and placed in a mobile incubator at 37°C for an incubation period of 10 days. During this time, the presence of the flagellate parasite was checked every day, using a microscope. We considered samples to be negative when no parasite had been observed during the incubation period.

Causes of mortality
Causes of mortality were investigated for individuals found dead between 1998 and 2017. In total, 189 carcasses were collected (88 females and 101 males) by members of the general public, NGOs and nature conservation authorities. We determined that 151 birds were urban and 38 were rural based on the recovery location of the carcasses. We checked that sites did not change in their urbanization classification (urban versus rural) within the last few decades. We performed necropsies for 69 goshawks collected during the survey period. Out of these, 42 originated from the territories we followed. We were also able to age all but two carcasses based on plumage coloration [5] and the date of discovery: 7% were nestlings (collected in nests), 16.5% were juveniles (May to June), 46% were in their first year of life and 30.5% were adults. These numbers are consistent with the general observation that goshawks experience the highest mortality rates during their first year of life [5]. All necropsies were performed at the Leibniz Institute for Zoo and Wildlife Research, following the same protocol. Causes of mortality were inferred from pathologic findings along with information provided by the finder of the carcass.

Statistical analyses
All statistical analyses were performed using R v. 4.0.3 [33]. We analysed the influence of habitat type on our five focal variables by means of linear mixed-effects models (LMM), generalized linear mixed-effects models (GLMM) and generalized linear models (GLM) (tables 2 and 3). A justification for why we opted to use broad categories (urban versus rural) instead of a quantitative index, such as imperviousness, is given in the electronic supplementary material, together with detailed reports for all statistical models. Importantly, all models include a random effect structure that accounts for multiple measurements. All models were fitted using the package spaMM v. 3.5.32 [34]. We checked that the main assumptions of linear modelling (lack of serial autocorrelation, expected dispersion and distribution of residuals) were fulfilled using DHARMa v. 0.3.3 [35]. We computed the significance of fixed-effect parameters in all models using a likelihood ratio test (LRT): we compared the observed LRT statistic (hereafter χ 2 ) to its distribution under the null hypothesis to compute the p-value. The latter distribution and the p-value were obtained through 1000 parametric bootstraps using the function anova() from spaMM. We computed 95% confidence intervals (CI 95% ) around some key parameter estimates using likelihood profiling in spaMM. Since likelihood profiling and parametric bootstrap are not strictly equivalent, small differences are expected and slightly significant p-values can sometimes correspond to a boundary of the CI 95% overlapping zero, or slightly non-significant p-values can sometimes correspond to boundaries excluding zero. In such cases, we relied on p-values obtained by parametric bootstrap to determine significance.

Behavioural responses
In 70 out of 151 records (46.4%), combining urban and rural observations, the female did not react to a person climbing the nest tree. Among the 81 remaining records, in 63 cases (41.7%), the female produced an alarm call; in 14 cases, she made a feint attack (9.3%), and in four cases involving the same two individuals across years, the climber was physically attacked (2.6%). Importantly, urban and rural individuals exhibited very different response rates ( royalsocietypublishing.org/journal/rsos R. Soc. Open Sci. 7: 201356 This result was consistent with a GLMM analysis predicting the probability that females reacted to the climber. The strongest effect was indeed found for habitat type (GLMM, n = 151: χ 2 = 12.3, p = 0.016): the odds that a female reacted were 10.8 times higher in the urban than in the rural habitat when nestlings were less than 16 days old, and 23.5 times higher when they were older (figure 3). The effect of nestling age on the reaction of females was not clear. The odds that a female reacted were 2.87 times higher for young than for old nestlings in the urban habitat and 6.24 times in the rural habitat. Yet, our model does not support the presence of a strong interaction between age class and habitat type ( χ2 = 0.284, p = 0.736); moreover, the overall difference between the two age classes was non-significant ( χ2 = 5.98, p = 0.083). Nonetheless, the strong effect of habitat remained after removing the interaction between age class and habitat type from the model, with urban females being 21.7 times (CI 95% 5.13-130) more likely to react than rural ones ( χ 2 = 12.0, p = 0.005), irrespectively of the age of the nestlings ( χ 2 = 5.70, p = 0.015). Laying date also had a significant negative effect on goshawks' reaction ( χ 2 = 4.94, p = 0.033, figure 4), and behaviour differed between the two years analysed ( χ 2 = 8.01, p = 0.011), with the odds that a female reacted being 4.32 times higher in 2016 than in 2015. The other variables considered in the GLMM did not significantly influence the probability that females reacted to the climber's presence (rainfall: χ 2 = 0.699, p = 0.427; number of nestlings: χ 2 = 1.04, p = 0.337).

Diet composition
In total, we collected 888 prey items within 93 territories across six study populations: 546 in urban areas and 342 in rural areas (table 4); a complete prey list is provided in the electronic supplementary material, table S1. Columbidae species represented 65.4% (355 out of 546) and 35.7% (122 out of 342) of all recorded prey items in urban and rural habitats, respectively. Feral pigeons and woodpigeons were the dominant prey species, followed by doves and other species (figure 5 and electronic supplementary material, table S1). On average, the odds for a prey item to be a pigeon rather than something else was 3.64 (CI 95% 2.05-6.66) times higher in urban than in rural habitats (GLMM, n = 93: χ 2 = 10.2, p = 0.015).
In total, goshawks breeding in the rural habitat killed 39 different species, while urban goshawks only consumed 32 species despite the larger sample size for urban locations (electronic supplementary material, table S1). Accordingly, our fitted model predicted 1.44 fewer species per territory in urban areas (LMM, n = 96: χ 2 = 5.53, p = 0.018), corresponding to a raw species richness per territory of 4.02 (range = 1-9, s.d. = 1.97, n = 58) and 5.46 (range = 1-13, s.d. = 3.38, n = 35) in urban and rural habitats, respectively. The analysis of rarefaction curves confirms that the observed difference in species richness between urban and rural habitat is not caused by a difference in the sampling effort (electronic supplementary material, figure S2). Simpson's diversity index differed significantly between habitats (BoxCox transformed GLMM, n = 67: χ 2 = 8.93, p = 0.008), with diversity predicted to be 0.11 points lower for urban territories. This pattern was also obvious in the raw data, with an average Simpson's diversity index   figure 7): the earlier goshawk began laying, the larger the brood size was. Because urban goshawks started breeding significantly earlier, it is possible that the larger brood size in the urban habitat is associated with this. To examine this possibility, we re-ran the previous model without laying date as regressor. This model indicated a significant effect of habitat type: the odds for goshawks to have large broods were 2.22 (CI 95% 0.984-4.73) times higher in the urban habitat than in the rural one (GLMM, n = 195: χ 2 = 5.54, p = 0.036); temperature remained non-significant in this model (χ 2 = 0.295, p = 0.551).

Causes of mortality
The most common cause of mortality for urban goshawks was trauma as a result of a collision ( figure 11): 33.1% (50 out of 151) of the cases were due to collisions with windows, 4.0% (6 out of 151) were due to collisions with vehicles, and 18.5% (28 out of 151) were due to collisions with unknown objects. In rural habitats, the most commonly recorded cause of death was also trauma: in 34.2% of cases, the circumstances remained unknown ( 11). The odds that a goshawk died due to trichomonosis was 5.15 (CI 95% 1.08-43.7) times higher in the urban than the rural habitat (GLM, n = 186: χ 2 = 4.26, p = 0.042). Age also had a significant effect ( χ 2 = 33.5, p = 0.001), with the risk of death due to the disease trichomonosis being highest for nestlings (8 out of 9), while sex was non-significant ( χ 2 = 0.446, p = 0.502).

Discussion
In this study, we compared five main characteristics of goshawks inhabiting either urban or rural habitats: their behavioural responses, diet composition, breeding performance, health status and causes of mortality. While our results indicate that urban life brings new challenges, a shift in diet, perhaps combined with behavioural changes, is likely to be the main reason why the 'phantom of the forest' may have become a successful citizen in several cities.

Behavioural responses
Behavioural flexibility can help animals adjust to human disturbance [17]. Our results indicate that urban and rural female goshawks behaved differently when we entered their territories as part of our research activities: urban goshawks were significantly more likely to produce alarm calls when their nest tree was climbed (and in a few cases, they even attacked the climber). Rural female goshawks could have been less likely to react to our presence for two reasons. First, if foraging conditions are poorer in rural habitats, females with older nestlings could have been forced to join their males' hunting efforts and were therefore less likely to be present during our visits. This scenario, however, was not strongly royalsocietypublishing.org/journal/rsos R. Soc. Open Sci. 7: 201356 supported by our data: the reaction rate of females decreased with the age of nestlings, and this decrease tended to be more marked in the rural than in the urban habitat as predicted, but none of these relationships were significant. Second, there could be a true behavioural difference between females from the two habitats-a scenario that is better supported by our data. Urban birds from other species have also been shown to be more aggressive than rural ones (e.g. Australian magpie [36,37]; noisy miner [38]). Behavioural adjustment with higher aggression and a higher stress-tolerance as part of the urbanization process could have allowed goshawks to breed in urban parks and cemeteries despite high levels of human disturbance [8][9][10][11][12]20,39]. However, it is currently unclear what the relative roles of genetic changes and phenotypic plasticity are in generating these behavioural differences between the two habitats.
Irrespective of habitat, we found that females that started laying eggs earlier were more likely to react to our intrusions. Møller & Nielsen [40] reported the same pattern for a rural population of goshawks in Denmark and suggested that early breeders could be of better phenotypic quality and could therefore afford to invest more time and energy into defensive behaviour.

Diet composition
Since food sources often differ between urban and rural habitats, animals must show some flexibility in their foraging behaviour to be able to colonize urban landscapes. We found that urban goshawks were more reliant on pigeons and doves than their rural counterparts (ca 65% for urban versus 35% for rural). This finding is consistent with the general notion that the goshawk is an opportunistic predator that preferentially hunts the most abundant and accessible prey of appropriate size [5,6,[41][42][43] and also fits the observation that pigeons and doves are usually abundant in urban environments [44,45]. Other studies have shown that the brood size of goshawk pairs increases significantly with the proportion of pigeons in their diet [46,47] and an ability to kill selectively rare colour morphs may afford additional fitness benefits [47][48][49].
Strong reliance on pigeons, in turn, reduced species richness and diversity in urban goshawks' diet. This observation is again consistent with the idea that pigeons are high-quality prey for goshawks: Rutz & Bijlsma [50] found for a rural study population in The Netherlands that, with increasing levels of food shortage, the dominance of high-ranked prey species in the diet (both in terms of biomass and numbers) decreased and the number of small-bodied prey species in the diet increased. In most rural areas, goshawks seem to be unable to focus on one, or a few, profitable prey species, exhibiting relatively broader diets as a result, which may affect foraging effort, and ultimately reproductive output [51].
Overall, our diet analyses are in line with findings from earlier studies: a literature review by Rutz et al. [6] revealed that pigeons and doves made up 40.4% to 48.7% of the diet across urban goshawk populations, compared with just 3.3% to 34.1% in rural locations. This review, which included some of our study sites, observed that the proportion of pigeons and doves in goshawk diet appeared to have increased in recent years in urban areas, while it remained fairly stable in rural ones [6]. Consistent with this, we recorded more woodpigeons in the diet of urban goshawks compared with earlier studies. Dietary shifts have also been reported for other urban raptor species, like the common kestrel, which specializes in hunting birds instead of rodents [52,53]. Mammals are often found to exploit anthropogenic food sources in urban areas (red fox [54]; racoon [55]), which in racoons is associated with higher densities in urban areas [55] and higher birth rates [56].

Breeding performance
Several bird species have been reported to shift their laying date in response to living in urban environments, with some initiating clutches earlier (Cooper's hawk [15]; great tit [57]) and others later (burrowing owl [58]; common starling [59]) compared with non-urban areas. We found that urban goshawks started laying eggs on average 14 days earlier than their rural counterparts. This result is consistent with previous studies showing that urban goshawks initiate breeding about 10-14 days earlier [6], and that rural goshawks start breeding earlier where their habitat is more urbanized [60]. The two most likely reasons for the earlier onset of egg laying in urban areas are increased availability of prey, including year-around access to key species [6], as well as elevated temperatures [25]. Favourable weather conditions at the beginning of the breeding season may affect food availability and are known to be associated with early egg laying in goshawks [61,62] and many other bird species [63]. Our diet composition estimates are consistent with the first scenario. However, contrary to what has been found in other birds [64], we did not detect a significant effect of temperature.
royalsocietypublishing.org/journal/rsos R. Soc. Open Sci. 7: 201356 Similarly, Looft [65] did not observe a change in laying date due to the warming climate in one of our rural goshawk study populations (Schleswig) that was monitored for over 50 years.
Among raptors, different types of breeding responses to urban living conditions have been documented [6,52,66]. For example, brood size is described to be larger in urban merlins [67], but smaller in urban common kestrels [52], and no clear pattern is described for sparrowhawks [68]. Furthermore, in mammals, like racoons, higher birth rates have been reported for urban areas compared with rural ones [55]. We found that urban goshawks exhibit slightly larger brood sizes than their rural counterparts. This is probably the result of favourable foraging conditions. Solonen et al. [69] reached the same conclusion, but they did not consider the potentially confounding effect of laying date. Interestingly, when we controlled for laying date in our statistical analyses, the difference in brood size between urban and rural habitats disappeared. As described for other raptor species (e.g. sparrowhawk [70]; merlin [67]; Cooper's hawk [15]), the increase in brood size we observed in goshawks seems directly related to an earlier onset of breeding. Krüger & Lindström [71] found that rural goshawk territories that were occupied earlier had a larger mean brood size and assumed that the quality of birds, rather than the habitat they occupied, might affect reproductive success. It is indeed possible that urban life attracts birds of higher phenotypic quality, as indicated by the behavioural differences we found and the earlier laying date in the urban habitat. Penteriani et al. [72] assumed that territory quality in combination with individual features may shape goshawks' foraging behaviour and therefore ultimately its breeding performance.

Health status
Few studies have explicitly examined disease threats to urban wildlife [14,15,73,74], although an association between breeding in urban habitats and disease transmission is often assumed a priori without being explicitly tested [2,63]. For urban goshawks, dense pigeon populations offer an excellent food supply, yet this prey is also the main host of the agent of trichomonosis [21], a disease known to affect survival and reproductive output in raptors [14,15,75]. Thus, pigeons potentially act as the main source of infection [73]. Accordingly, we recorded a higher proportion of infected nestlings in urban compared with rural populations (55.4% versus 25.9%). A link between urban lifestyle and infection risk is further supported by a small but significant difference in the percentage of cases where nestlings exhibited clinical signs of trichomonosis (3.9% versus 2.3%). An elevated prevalence of wildlife diseases in urban areas has also been found for some other bird species as well as other taxa [2].

Causes of mortality
Key threats to urban birds are accidental death due to collision with anthropogenic objects [24,[76][77][78] and exposure to pathogens [14]. Across all birds collected and investigated in German cities, Stenkat et al. [23] identified trauma as the main cause of mortality, accounting for 62% of deaths, followed by parasitic diseases (18%). We found that a third of all recorded deaths for urban goshawks were due to collisions with glass structures. Urban goshawks were around three times more likely to die from window strikes compared with rural individuals. Hager [77] observed that windows affect Accipiter spp. hawks (which include goshawks) and falcons more than other raptors. The pursuit hunting style of goshawks makes them particularly susceptible to such accidents [5,39]. We estimated that the odds to strike a window were about twice as high for males compared with females. This sex difference probably reflects the fact that male goshawks provide their partners and chicks with food during the breeding season, associated with elevated hunting and activity levels [5]. Likewise, collisions with anthropogenic objects have been described as the main source of mortality in other taxa. In mammals, trauma due to collisions with vehicles is the most common source of mortality in suburban areas (racoons [55]; red foxes [79]). Pathogens seem to impact our urban study populations as well: we found that the second most common cause of mortality for urban goshawks was trichomonosis (14.6%). This parasitic infection was about five times more likely as a cause of death among urban birds compared with rural ones. The parasite is known to mainly infect nestlings, possibly due to a more favourable oral pH level [80]. Breeding losses due to trichomonosis have accordingly been proposed as a population limiting factor in Cooper's hawks [14] and in goshawks from Great Britain [81]. In mammals, higher mortality rates in cities due to diseases have also been described in several species. In racoons, the main source of mortality in urban areas is diseases [55], and red squirrels are believed to have disappeared from Norfolk, UK, due to higher infection rates in the city [82].

Conclusion
To our knowledge, our study is one of the most comprehensive investigations to date to compare the biology of a raptor species across urban and rural habitats, with standardized methodology and appropriate population-level replication [66]. We found that goshawks breeding in urban habitats seemed to be bolder than their rural counterparts and, benefitting from a favourable food supply, initiated breeding earlier and enjoyed comparatively larger brood sizes. Yet, breeding in urban environments comes with two notable costs: an elevated risk to become infected with the agent of trichomonosis and to collide with objects. Estimating mortality rates and lifetime reproductive success is challenging in long-lived species, as it requires following large numbers of individuals throughout their entire lives. Without detailed knowledge of the vital rates of urban and nearby rural populations, it is impossible to draw firm inferences about the suitability of these different habitats for goshawks. Nonetheless, in light of our findings and earlier work, and assuming that urban populations can sustain themselves without the constant need of immigrants from surrounding rural populations [6,10], we consider at least some cities to be high-quality breeding habitats for goshawks. This is particularly relevant in the context of a possible recent deterioration of rural habitats; several authors have raised concerns that prey shortages could have led to significant declines in rural goshawk populations [50,60]. Therefore, we propose to classify the goshawk an 'urban exploiter' under Blair's scheme [4]. Although the species does not depend on artificial resources like peregrine falcons [3], urban goshawks prefer old and high trees for nesting with forest areas and open land [83,84], which are usually found in cemeteries and parks. Such habitats thus need to be preserved to ensure successful cohabitation of goshawks and humans in cities like Berlin, Hamburg and Cologne, where goshawks are already resident, as well as in cities that remain to be colonized by this iconic raptor.
That urban living conditions can simultaneously be beneficial and detrimental is the result of the complex effects that the environment can have on different life-history traits. Interestingly, our own species (Homo sapiens) is also thought to have experienced improved fecundity and reduced survival with the formation of large settlements that became possible with the advent of agriculture [85,86].