Main

Adaptive radiations are major components of biological diversity and their study provides insight into the structure and evolutionary dynamics of biodiversity. Adaptive radiation is the diversification of a lineage into an array of species that possess traits enabling them to exploit different environments or resources4. It involves a complex set of processes, and identifying the factors (extrinsic and intrinsic) that initiate, facilitate and constrain them remains challenging because of the difficulty of reconstructing conditions at the onset of the classical large radiations. Comparative studies of adaptive radiations provide evidence that ecological opportunity is key to diversification1,5. Ecological opportunity refers to the opening up of new niches and the new availability of an abundance of resources. It can trigger diversification through ecological release and ecological expansion, subsequently followed by specialization with niche partitioning during or soon after speciation6. Ecological opportunity may lead to a burst of ecological diversification and speciation events and may be triggered in either of several ways including: (1) the colonization of a newly formed environment; (2) the emergence of new resources; (3) the extinction of predators or competitors; and (4) the evolution of a key innovation7. All of these factors open up resources that were previously inaccessible to the diversifying lineage.

The ability of colonizing species to be able to access new resources depends on a species’ ecological versatility and timing of arrival, relative to other species. Ecologically more versatile taxa can populate a wider range of habitats more quickly and can often access a wider range of dietary resources in individual habitats, which results in increased abundance and wider distribution ranges8. Ecological versatility is a prerequisite for rapidly accessing new resources when they first emerge, and thus versatile taxa may experience more immediate opportunities to diversify9,10,11. The other often-invoked but rarely tested hypothesis is that the arrival order of species can determine which one goes on to radiate. This is known as the priority effect, which holds that early colonizing taxa can fully access and subsequently monopolize resources, thereby negatively affecting the opportunities for taxa that arrive later12,13. For instance, it has been shown in microbial diversification experiments that early arriving species suppress the diversification of late arriving species14. However, testing for priority effects and/or differential versatility of colonizing lineages in real adaptive radiations has proved elusive because many of the best-studied adaptive radiations, including most cichlid fish radiations, began millions of years ago3,7, which makes it almost impossible to assess arrival order or differential ancestral versatility.

The Lake Victoria cichlid fish radiation provides us with unique opportunities in this regard because it unfolded over an exceptionally short and recent geological time interval. Genomic analyses of the Lake Victoria radiation show that much of its genetic diversity stems from a hybridization event between two lineages which had been evolving separately for millions of years15,16. Although this event predates the formation of modern Lake Victoria, at approximately 17 thousand years ago (ka) (ref. 17), the genetic variation was present in the founding haplochromine lineage. As this lineage diversified it left a trail of accessible fossils in its wake. The sedimentary record of Lake Victoria provides excellent chronological resolution17 from which we obtained a rich and continuous fossil record for this study. Previous studies used phylogenetic reconstructions and attributed the rapid evolution of large species diversity in haplochromine cichlids to ecological opportunity (emergence of large deep lakes), a highly evolvable mating trait system and unusual genomic potential due to hybrid ancestry5,15,16. However, comparative phylogenetic approaches do not inform us about past community composition of taxa other than the target clade and therefore about relative versatility and arrival order, but such data can be obtained, in principle, from fossils and their abundances and distributions over habitats and through time.

Here, we reconstruct the history of arrival order and the dynamic history of the relative abundances of the radiating taxon and all other major fish taxa across the habitats from the origins of the lake to the present. We took a series of four long composite sediment cores along an onshore-to-offshore transect in the eastern part of Lake Victoria (Methods). First, we asked whether the radiating lineage arrived in the lake before other taxa and whether or not it was numerically dominant over the others. Both early arrival and numerical dominance could afford haplochromine cichlids the opportunity to monopolize resources, permitting them to radiate while potentially inhibiting the radiation of other taxa. Second, we test whether the ancestors of the radiation differed from other contemporaneous taxa in relation to their early habitat utilization, specifically, their ability to persist in new lacustrine habitats that emerged as lake levels rose and that have no analogue in the small streams and swamps from which all colonizing fishes came.

Based on more than 7,500 fish tooth fossils, identified to either family level and/or major lineage within the cichlid family, our evidence suggests that both radiating and non-radiating lineages co-colonized as soon as the lake began to form and the radiating taxon did not dominate the assemblage. However, when the lake became deep and when vast open-water habitats formed, haplochromine cichlids established in offshore deep waters and instantaneously dominated the fish assemblage in these new habitats. In contrast, the hitherto numerically dominant cyprinoids and all other taxa tracked the moving littoral zone but successively abandoned each site as soon as it transitioned to deep water and pelagic habitat. This suggests that cichlids and, in particular, haplochromine cichlids, differed from all other fish that colonized Lake Victoria in their exceptionally large ancestral ecological versatility in relation to habitat. We suggest that the relaxation of selection on traits associated with habitat utilization (that is, ecological opportunity) and the subsequent population expansion into new deep and open-water habitats (that is, ecological release) were crucial for the rapid adaptive radiation of these fishes. Priority effects associated with the order of arrival and relative numerical dominance at the origin of the lake cannot explain which lineages radiated and which did not. In the following, we derive these conclusions in more detail.

A continuous fish fossil record

We recovered 7,623 fish tooth fossils from four different coring sites together spanning the 17 ka refilling history of Lake Victoria after the late Pleistocene desiccation (Supplementary Table 2 and Supplementary Fig. 1). A total of 931, 1,368, 2,842 and 2,478 fossil teeth were recovered from sieved samples from the coring sites LVC18-S4, LVC18-S1, LVC18-S2 and LVC18-S3 (hereafter referred to as LV4, LV1, LV2 and LV3), from the deepest to the shallowest parts of the lake, respectively (Fig. 1 and Supplementary Table 2). The fossil teeth recovered were generally small, often less than one millimetre in length, but were usually very well preserved (Fig. 3 and Supplementary Fig. 4). Teeth were present in good numbers throughout each of the sediment cores, which permitted the continuous reconstruction of the fish communities in each site (Fig. 1). Although other fish remains such as bones and scales were found too, we present only the fish tooth fossil results here as nearly all teeth can be morphologically assigned to a taxon with certainty (Fig. 3 and Supplementary Fig. 4), something that is not possible with bones or scales. Generally, we observed high fossil abundance in periods of time where a site was a productive wetland or littoral zone, followed by a drop in numbers when the same site became a deep open-lake habitat (Fig. 1). This expected productivity gradient through time repeats itself as a gradient in space across the four cores, where cumulative abundance increases from the offshore to the inshore.

Fig. 1: The Lake Victoria fish assemblage since the birth of the modern lake reconstructed from sedimentary deposition of tooth fossils in an onshore–offshore coring transect.
figure 1

The bars represent the relative abundances of fish of all major taxa derived from fossil influx (fossil concentration/sediment accumulation rates) and are corrected for variation in the average number of teeth among the taxa. The solid orange lines are statistically significant multivariate change points detected across all taxa using the E-divisive method22. The letters (A–D) denote different major phases or habitat stages bounded by change points and shared between the sites. Here, A (green shade) represents the wetland fish community phase, B (dark blue) represents the littoral/sublittoral phase, and C and D (light blue) indicate the deep open-lake phases that differ in productivity. The grey shading represents depth not cored and the white spaces in LV3 are intervals not screened for fossils (no data).

The fish community assembly

The diagnostic characteristics of the tooth fossils indicated that we recovered representatives of five fish families (Fig. 1): Bagridae, Clariidae, Mochokidae, Cyprinoidea and Cichlidae with haplochromine and oreochromine cichlids diagnosably distinct, which matched the dominant elements of the modern fish community in the lake (Supplementary Table 2). A small proportion of fish teeth (7.33%, n = 562) could not be assigned to any taxon. Bagrid, clariid and mochokid catfish made up 0.12%, 0.13% and 0.24% of the total number of fossil teeth, respectively (Supplementary Table 2). The overall percentage of cyprinoid fossils in the assemblage was 4.53% across the four sites, whereas the entire cichlid family comprised greater than 80% of the assemblage at each site. Across all four sites, the haplochromine cichlids contributed 82.8% (the radiated cichlid lineage) and oreochromine cichlids 4.9% (the non-radiated cichlid lineage) of all the fish fossils found (Supplementary Table 2). This overall composition of these six lineages closely resembles the relative abundance of taxa in contemporary Lake Victoria18. However, relative abundances were very different in the first few thousand years of the lake’s history. The continuous fossil record demonstrates that haplochromine cichlid fishes, albeit always present in all sites throughout the lake’s history, did not come to dominate the assemblage until several thousand years into its history. In fact, cyprinoid fish dominated when the lake first began to fill and for several thousand years afterwards. All other taxa were also present at the origin of the lake but declined later, often below the detection threshold (Fig. 1).

Habitat transitions and community turnover

The Lake Victoria basin is estimated to be approximately 400,000 years old with a history of drying and refilling, with the last event of complete desiccation in the Last Glacial Maximum (approximately 19–26.5 ka)19,20 and it started re-wettening about approximately 17 ka (ref. 17). The deepest point of the lake is 68 m and our deepest core LV4 is at 63 m. Our deepest core reveals subaerial exposed deposits or palaeo-Vertisols, possibly with local episodic wetlands, which suggests very dry conditions from at least 20 ka and ending by 16.2 ka at the latest21. At about 16 ka, shallow water and wetland conditions established, characterized by abundant Typha pollen, which suggests in situ Typha growth (greater than 5%), and this condition lasted for approximately 2,000 years until about 14,000 bp (ref. 17). The topography of Lake Victoria is well characterized and is essentially saucer shaped20. From when LV4 began to be inundated, we found continuous traces of fish fossils from the sediment cores and this allowed us to identify major shifts through time in the taxon composition of the Lake Victoria fish community, statistically supported by change point detection analysis22. We identified several distinct phases between the change points which we assigned to major habitat and ecosystem stages. Within each site, we compared the abundance of each fish taxon between these stages and inferred the direction of change between the stages using t-tests. To be able to convert fossil tooth counts into the relative abundances of fish of the different taxa, we accessed published information and our own computerized tomography scans from preserved fish to obtain information on the number of teeth that typical representatives of each major taxon have (Methods). Four major fish habitat zones are recognized in the modern Lake Victoria: wetlands at the edge of the lake (dominated by emergent hydrophytes, commonly Cyperus papyrus); littoral (less than 6 m water depth); sublittoral (6–20 m water depth); and deep waters (greater than 20 m water depth)23,24.

Palynological and palaeolimnological data for our most offshore site, LV4 (63 m water depth), the first site to be inundated at the onset of the modern lake, suggests that the site was situated in a wetland with low water levels from approximately 16.6 ka until approximately 13.5 ka (ref. 17). An abundance of pollen of semi-aquatic macrophytes and hydrophytes (for example, Typha and Cyperus) suggests a wetland interspersed with shallow ponds and low water tables until approximately 13.5 ka (ref. 17). Six fish groups are found (Fig. 1): Cyprinoidea was clearly the most abundant group, followed by haplochromine and oreochromine cichlids, and, finally, mochokid, bagrid and clariid catfishes (Fig. 1). This composition resembles that of modern wetlands and shallow lakes across much of eastern and central Africa25,26,27. We refer to this wetland stage, as defined by the fish community, as phase A. By approximately 13 ka Typha pollen disappeared and rainforest trees began to spread17, which suggests an increase in the precipitation/evaporation ratio and site 4 now being distant from wetlands. Because a corresponding change in the pollen records, with the disappearance of Typha, was observed simultaneously in site LV2 (ref. 17) which is 40 m shallower than LV4 (LV1 is too short to document this transition), we interpreted it as the signal of our coring sites transitioning to offshore habitat in a deeper lake.

A recent attempt at reconstructing lake levels suggested that LV4 became a deep open-lake habitat just before the change in pollen composition21. Around the point in time when the pollen record suggests a transition from a wetland to an offshore lake site for LV4, many fish taxa declined to somewhat lower abundance in the sediment record, including the previously numerous cyprinoids. This change is statistically corroborated by the detection of a first multivariate change point at approximately 13.5 ka (Fig. 1) associated with a significant decrease in cyprinoids but not haplochromine cichlids (Fig. 2). Subsequently, the catfish disappear from the record and the community is composed only of cichlids and cyprinoids. We interpret this community as reflecting a period of lacustrine littoral conditions at the site, which we refer to as phase B. It lasts from approximately 13.5 ka to approximately 11.9 ka, when we detect another significant change point (Fig. 1). At this point in time, most fish taxa declined to below detection level in the sediment record, including the previously numerous cyprinoids. However, while cyprinoids and all taxa other than haplochromines fell below the detection threshold, we consistently recovered haplochromine cichlid teeth from sediments younger than 11.9 ka. This community then resembled the modern (pre-Nile perch invasion) community in offshore Lake Victoria, except that it lacks evidence of the pelagic cyprinoid Rastrineobola that is abundant in modern Lake Victoria28. We refer to this deep open-lake community as a phase C community, defined by the dominance of haplochromines and nearly complete absence of cyprinoids and catfish.

Fig. 2: Difference in relative fish abundances between change point delineated habitat phases along the offshore deep (left) to inshore shallow (right) coring transect.
figure 2

The LV4 site phases were A (n = 56), B (n = 30), C (n = 99) and D (n = 70), where n is the number of samples pooled from the change points. The LV1 site phases were A/B (n = 30), C (n = 33), D1 (n = 45) and D2 (n = 30). The LV2 phases were A (n = 40), B (n = 38), C (n = 121), D1 (n = 30), D2 (n = 34) and D3 (n = 30). The LV3 site remained throughout in the littoral/sublittoral phases B1 (n = 30), B2 (n = 30), B3 (n = 37) and B4 (n = 57). Each plot shows the mean relative abundances of each major fish taxon for each statistically delineated habitat phase and vertical lines indicate significant differences between phases using two-sided t-tests. Asterisks indicate the statistical significance (*P ≤ 0.05, **P ≤ 0.01, ***P ≤ 0.001 and ****P ≤ 0.0001) of differences between phases for each taxon. The centre line of the box plot shows the median, the red dot shows the standard error mean, the upper box bound is the 75th percentile and the lower box bound is the 25th percentile. The grey dots show the observations outside the 25th and 75th percentiles. The lower-end line whisker shows the minimum observed value and the upper-end line whisker shows the maximum observed value.

Fig. 3: Representative fish teeth fossils from multiple taxa as recovered from the sediment cores in Lake Victoria.
figure 3

a, Cyprinoid pharyngeal tooth attached to the jaw bone. b, Haplochromine cichlid oral tooth from an inner tooth row. c, Haplochromine cichlid oral tooth from outer tooth row. d,e, Haplochromine cichlid pharyngeal teeth. f, Oreochromine cichlid pharyngeal tooth. g, Oreochromine cichlid oral tooth. h,i, Mochokid catfish teeth from the premaxilla tooth pad on the lower jaw. j, Bagrid catfish tooth. k, Clariid catfish tooth.

At the base of our second deepest core, LV1 (37 m water depth), at approximately 13.8 ka, we detected a short interval with a community that resembled the wetland community at the base of LV4 with cyprinoids and haplochromines and the presence of mochokid, bagrid, clariid catfish and oreochromine cichlids (Fig. 1). Whereas cyprinoids had numerically dominated between approximately 16.6 ka and approximately 13.5 ka in LV4, cyprinoids and haplochromines occur in similar numbers at the base of LV1, resembling phase B in LV4. Hence, site LV1 appears to have been a productive wetland for its first 1 ka (approximately 14–13 ka), after which its fish community suggests that the site transitioned to a lake. Just as in LV4, after approximately 13 ka, all taxa abruptly declined below the detection limit except haplochromine cichlids, which declined but remained above the detection limit. This change is reflected by the detection of a multivariate change point at approximately 11.8 ka, which, however, is placed approximately 1 ka after the visually detectable community change (Figs. 1 and 2). For this reason, we assign the section below the change point to a heterogeneous phase within which the wetland transitions to shallow lake littoral (A/B).

Our data from core LV2 (22 m water depth) tell a similar story. This core starts at approximately 15.5 ka and the first 3,000 years has the characteristics of the wetland community described above: co-dominance by cyprinoids and haplochromines and an abundance of oreochromines as well as the regular presence of various catfish. This community persisted from approximately 15.5 ka to approximately 12.6 ka, which is where we detected a multivariate change point (Fig. 1) associated with declining abundances of all taxa (Fig. 2). Subsequently, the catfish disappear from the record and the community is composed only of cichlids and cyprinoids. We interpret this community as reflecting a period of lacustrine littoral conditions at the site, that is, phase B. It lasts from approximately 12.6 ka to approximately 10.4 ka, where we detect another significant change point (Fig. 1). Thereafter, this site (LV2), like LV4 and LV1, loses all fish except haplochromines and occasional oreochromine cichlids. We interpret this as the transition to the deep pelagic lake condition (phase C) and it is marked by a significant change point around approximately 10.4 ka (Fig. 1). This coincides closely with an abrupt drop in hydrophyte pollen (Cyperus), an increase in rainforest tree pollen, an abrupt increase in the ratio of rainforest to savanna pollen in LV4 and a similar, albeit less steep, change in LV2 (ref. 17).

Finally, our record for LV3 (13 m water depth), our coring site closest to the shore, starts at approximately 11.5 ka and must have been situated within the littoral and/or sublittoral zone of Lake Victoria (phase B) throughout its history. Consistent with this, we found fossil teeth of haplochromine cichlids, oreochromine cichlids and cyprinoids deposited in the sediment throughout the record. We observe dynamic changes in the abundance of all these taxa, as reflected by several significant multivariate change points (Fig. 1). The dynamic changes are also reflected in significant t-tests. We conclude that this site has not had any lasting wetland phase but became first incorporated into the expanding lake as a littoral zone and remained littoral and/or sublittoral throughout the lake’s history. Most notably, the abundances of cichlids and cyprinoids increase around 6 ka bp.

Cichlids’ ecological versatility

Between 13 ka and 12 ka the profundal and pelagic zones (deep and open-water habitats) emerged as totally new habitats that had no analogue in the old stream and wetland landscape that would have constituted fish habitat in the preceding millennia. These new habitats would have potentially provided the ecological opportunity for all fish taxa inhabiting the lake at the time. However, the abundance of all fish except cichlids dropped below the detection threshold as sites transitioned from a wetland and/or shallow lake to the new habitat. This suggests that although various species of fish successfully established in shallow water habitats when the modern lake began to fill, of all the fish in the ecosystem, only cichlids possessed the ecological versatility that allowed them to persist in the new deep and offshore environments. This is consistent with the structure of the modern Lake Victoria fish community where most groups are confined to the near-shore littoral and sublittoral zones, whereas haplochromines occur in large numbers and there are many different species in all habitats across the full depth range and the complete onshore–offshore gradient28. It is also consistent with data that show that riverine haplochromines recently introduced to a deep crater lake abound there in deep offshore habitats29.

Our fossil evidence suggests that the immediate prevalence of haplochromines in the new environments, as they emerged, cannot be a result of evolutionary adaptation during the adaptive radiation process. If this was the case, we would have expected a period of absence of haplochromines followed by their return to the new habitat. The uninterrupted presence of haplochromines, instead, suggests that their ability to persist in the new habitat was already present at the beginning. Clearly, haplochromines, and, to a lesser extent, oreochromines as well, arrived with large habitat versatility that none of the other taxa possessed. Cichlid fishes have been suggested to exhibit unusual ecological versatility with respect to their trophic ecology30,31,32, habitat utilization and associated breeding ecology25 and have highly versatile feeding apparatus31. They have been shown to occupy a very wide range of freshwater habitats from little streams and swamps to large and deep lakes25,33 and a single species can occupy an entire depth range34. Our fossil data suggest that haplochromine and oreochromine cichlids persisted in all of our offshore sites when the sites became deep offshore lake habitats, whereas other fish groups disappeared despite them having been numerous at the same sites when they were shallow habitats. We consider this as evidence of the differential habitat versatility. Although oreochromine cichlids displayed ecological versatility too, their numbers decreased to near detection limit in our two most offshore sites, which is consistent with the modern ecology of the two native species Oreochromis variabilis and O. esculentus, that mainly occurred in the near-shore parts of the lake before their near extirpation35. Water depth and onshore–offshore habitat gradients play a fundamental role in haplochromine speciation34,36,37. Therefore, it is likely that their large ancestral habitat versatility was key to the rapid emergence of adaptive radiation because it exposed haplochromine populations very quickly to large ecological contrasts to which they would subsequently adapt. The fact that only haplochromines radiated into approximately 500 endemic species, but oreochromines did not, suggests that, although required, versatility alone was likely to be insufficient for adaptive radiation. It is possible that its coincidence with large evolvability, due to the hybrid ancestry15 of the haplochromine lineage, was key for converting a single ecologically versatile population into many species with distinct ecological specializations.

Late emergence of pelagic abundance

In all of our offshore cores, we observe a late Holocene increase in the abundance of haplochromine cichlids, followed also by a partial return of cyprinoids in the offshore waters. The multivariate change point analysis places this change in all sites between approximately 3.8 ka and approximately 2.3 ka (approximately 3.8 ka in LV4, approximately 2.3 ka in LV1 and approximately 2.9 ka LV2 (Fig. 1)), but visual inspection of the data is consistent with quasi-simultaneous changes in all three cores around 3.5–3.0 ka (Fig. 1). A significant increase of haplochromines in all three cores was confirmed by t-tests. We refer to this late Holocene pelagic abundance phase as phase D. Intriguingly, demographic analyses of whole genome sequence data from modern samples of all haplochromine trophic groups suggest that specialized pelagic planktivores emerged only in the late Holocene (D. Marques et al., manuscript in preparation), which would coincide with the significant increase of haplochromine cichlids in our offshore core sites (Fig. 2). Palynological reconstructions revealed that, at approximately 5 ka, the riparian vegetation changed from rainforest back to savannah with a significant increase in charcoal influx in all three cores17. These changes in the terrestrial vegetation cover mark the end of the African humid period38, reflect long-term changes in rainfall and wind patterns and may have led to increased productivity in the lake. It is noteworthy that, shortly after cichlids increase in the offshore cores, cyprinoids reappear in the record after they had been below the detection threshold for several thousand years. Modern Lake Victoria has one pelagic zooplanktivorous cyprinoid species, Rastrineobola argentea. We hypothesize that our fossils represent this species and that its pelagic habits may have emerged around this time, which is something we hope to address with aDNA in the future.

Conclusions

Our study unravels the interaction and relative importance of key facilitators of adaptive radiation at the onset of a large adaptive radiation. Since haplochromines diversified into hundreds of endemic species in very little time, whereas none of the other lineages did, one might have expected haplochromines to have arrived before the others or to have acquired dominance through abundance before the others. Our evidence suggests that neither of these were the case. We show that when the most offshore coring location became inundated (approximately 17 ka), the fish community immediately resembled modern assemblages of wetlands and rivers in the region in astonishing detail, with an abundance of cyprinoids, haplochromine and oreochromine cichlids and several catfish taxa. This may seem surprising at first, but is not so on closer inspection. Large lakes with endemic species radiations are often likened to offshore islands in the sea. However, contrary to the latter, most large lakes do not start out as geographically isolated from the source region from where they get colonized (that is, the mainland in the case of oceanic islands). In fact, large lakes form in the midst of the ‘mainland’, which is the river network in the case of freshwater fish. Hence, we should expect many different river fish lineages to colonize newly forming lakes synchronously. This also means that there is little opportunity for priority effects to determine which colonist lineage radiates, and this factor should play less of a role than for radiations on ocean islands. In turn, lineage-specific effects should be more important to explain which lineage radiates in lakes.

The duration of the wetland fish assemblage in Lake Victoria’s history closely coincides with a dominance of wetland and savannah vegetation around the lake, based on pollen records17 and it is lost as soon as the vegetation indicates the emergence of a deep lake. The ability of haplochromine cichlids to fully occupy the new habitats associated with the development of deep lacustrine conditions set them apart from all other colonizing fishes. We propose that this ecological versatility in the new deep open-water habitat has played a decisive role in the diversification process and led to the subsequent ecological dominance of haplochromines. We suggest that the coincidence of ecological opportunity with ecological versatility combined with hybrid ancestry39 was paramount to setting the stage for the massive and explosive adaptive radiation that occurred in Lake Victoria. Without both opportunity and versatility, the hybrid ancestry of the lineage would have been unlikely to lead to massive diversification39. Opportunity and versatility, in turn, would have been unlikely to convert the versatile population into an exceptional radiation, which required large evolvability and hence large genetic variation39. Our findings add to understanding the interactions between environmental and lineage-specific factors at the onset of animal adaptive radiations. We suggest that adaptive radiations may be triggered by the coincidence of ecological opportunity with the intrinsic lineage traits of versatility and evolvability.

Methods

Sediment coring and processing

The sediment cores were collected in 2018 from four sites; LVC18-S1 (located at 1° 6,914′ S, 33° 55,146′ E), LVC18-S2 (located at 1° 7,850′ S, 33° 56,780′ E), LVC18-S3 (located at 1° 6,914′ S, 33° 55,146′ E) and LVC18-S4 (located at 1° 2,966′ S, 33° 47,768′ E). The sites will hereafter be referred to as LV1, LV2, LV3 and LV4, respectively. The cores were collected along a transect of increasing water depths (LV3 at 13 m, LV2 at 22 m, LV1 at 37 m and LV4 at 63 m) and distance from shore (LV3 at 2 km, LV2 at 6 km, LV1 at 9 km and LV4 at 30 km from the shore) in the Shirati Bay area of Lake Victoria (Fig. 1 and Supplementary Fig. 1). This design allowed us to track the productive and most biodiverse littoral zone through time in addition to studying the transition from wetland through the shallow-lake to the deep-lake habitat within sites. The littoral zone would have kept shifting as the lake was refilling and hence studying changes in biodiversity through time in this habitat required coring at multiple localities from offshore to inshore. Cores were taken using an UWITEC platform with metal floats, which was transported to the sites by TAFIRI’s RV Lake Victoria Explorer and positioned using four large steel anchors. A Niederreiter-type piston-corer with a 3 m drive length, 60 mm liner diameter, motorized hammer and hydraulic core catcher was suspended from the platform. Parallel holes with contiguous drives were cored in sites LV1, LV2 and LV3 and a series of overlapping drives from adjacent holes were used in LV4. Cores were cut into approximately 1-m-long sections, which were sealed and labelled and kept cool during transport and storage. The cores were subsampled contiguously at 2 cm intervals and the samples were then wet sieved through stacked 200 μm and 100 μm mesh-size sieves to retain fish bones, scales and teeth. A ZEISS stereo-microscope Stemi 508 at ×10 magnification (Carl Zeiss) was used to screen and sort subsamples for fossils. The recovered fossils were individually photographed and a detailed record with images and notes was created. Fossils were then visually analysed and compared with the literature and our reference collection to assign each fossil to a taxonomic group. The sediment volume and accumulation rates were adopted from ref. 17.

The reference collection

A digital photograph catalogue of modern tooth specimens of Lake Victoria fishes was created as a reference collection. The collection comprises 44 species representing seven families that form the modern assemblage in Lake Victoria (Supplementary Table 1). Additionally, published descriptions of teeth together with images and drawings were consulted23,33,40,41,42,43.

The relative taxon abundance

The relative abundance of each taxon was calculated for each sampling interval using the average of the typical number of teeth a fish has in each taxon based on published tooth counts of representative species of each major taxon and our reference collection. For example, Astatotilapia nubila, the ancestral type haplochromine cichlid that occupies the wetlands around Lake Victoria44, has between 138 and 147 teeth in the oral and pharyngeal jaws combined45. The oreochromine cichlids have between 60 and 1,000 teeth in the oral and pharyngeal jaws combined35,46. Cyprinoid fish lack teeth in the oral jaws and have only 11–15 teeth in the lower pharyngeal jaws and no teeth in the upper pharyngeal jaws47,48. For catfish families, Mochokidae have 6–11 teeth49, Bagridae have about 50 teeth41 and Clariidae have about 20 teeth50. The implication from the neontological data is that it is twice as likely to recover a tooth from an individual oreochromine than from an individual haplochromine, ten times less likely to recover a tooth from an individual cyprinoid and mochokid and five times less likely to recover a tooth from an individual clariid catfish than from a haplochromine. The fish fossil influx was obtained from fossil concentration per area per year (the concentration of fossils/area per year) (Supplementary Fig. 3) and we observed an even depositing of fish teeth, which suggests that multiple teeth were unlikely to stem from the same individual.

Statistical analysis

For detecting significant distributional changes through time in the composition and abundance of taxa, we used the multivariate change points detection E-divisive method from the ecp R package v.3.1.3 (ref. 22). The method detects significant changes in mean and variance using the hierarchical divisive estimation algorithm of a time series. Initially, all the observations were included in a single cluster. Then, at each step, the algorithm split the data into hierarchal homogeneous clusters. Our dataset was analysed and visualized using Rstudio v.4.3.1 (ref. 51) with packages rstatix v.0.7.2, ggplot2 v.3.4.2, tidypaleo v.0.1.3, patchwork 1.1.2, scales v.1.2.1, ggtext v.0.1.2 and dplyr v.1.1.2. We created the box plots to summarize each taxon’s mean relative abundance for each habitat phase. A two-sided t-test was computed to infer significant differences between phases.

Sediment geochronology, vegetation and lake level dynamics

The lake level changes were inferred from ref. 21 and the chronology and age models were based on ref. 17. The chronology was based on a total of 93 samples of terrestrial macrofossils that were radiocarbon dated using the MICADAS accelerator mass spectrometry system at the Laboratory for the Analysis of Radiocarbon with AMS at the University of Bern52. The terrestrial macrofossil ages were used to construct three independent models with 95% (2σ) probabilities using rbacon53 in R software and the IntCal20 calibration curve54. The biostratigraphy of each site was used to cross check the resulting ages17. The age model for LV3 was based on 14C dates from a total of 26 samples (23 of charcoal, 3 bulk sediment) following the same approach as in ref. 17.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.