Recent work has demonstrated that evolutionary processes shape ecological dynamics on relatively short timescales (eco-evolutionary dynamics), but demonstrating these effects at large spatial scales in natural landscapes has proven difficult. We used empirical studies and modeling to investigate how selective pressures from fire and predispersal seed predation affect the evolution of serotiny, an ecologically important trait. Serotiny is a highly heritable key reproductive trait in Rocky Mountain lodgepole pine (Pinus contorta subsp. latifolia), a conifer that dominates millions of hectares in western North America. In these forests, the frequency of serotiny determines postfire seedling density with corresponding community-and ecosystem-level effects. We found that serotinous individuals have a selective advantage at high fire frequencies and low predation pressure; however, very high seed predation shifted the selective advantage to nonserotinous individuals even at high fire frequencies. Simulation modeling suggests that spatial variation in the frequency of serotiny results from heterogeneity in these two selective agents. These results, combined with previous findings showing a negative association between the density of seed predators and the frequency of serotiny at both landscape and continental scales, demonstrate that contemporary patterns in serotiny reflect an evolutionary response to conflicting selection pressures from fire and seed predation. Thus, we show that variation in the frequency of a heritable polygenic trait depends on spatial variation in two dominant selective agents, and, importantly, the effects of the local trait variation propagate with profound consequences to the structure and function of communities and ecosystems across a large landscape.Greater Yellowstone Ecosystem | geographic selection mosaics | genes to ecosystems R ecent work has attempted to unify processes acting across spatiotemporal scales by connecting smaller-scale (e.g., individuals, patches) ecological processes to large-scale (e.g., ecosystems, landscapes) patterns via evolutionary mechanisms (1, 2). When heritable traits in foundation species have important community and ecosystem effects, ecological drivers that exert natural selection on these traits can propagate to largescale patterns in community and ecosystem function, resulting in landscape heterogeneity driven by small-scale ecological variation (1, 3). Although there is a clear conceptual link between selection acting on individuals and landscape-scale patterns, making mechanistic connections across these very different scales has proven challenging (refs. 4 and 5; but see ref. 6). Forested ecosystems in particular are difficult to study, because long generation times prevent direct observations of any response to selection. Nevertheless, attempts to elucidate the connections between individual-level genetic variation and ecosystem and landscape structure are imperative, especially given the unprecedented pace of global change.Here, we integrate empiric...