The end of the Capitanian stage of the Permian was marked by the major Capitanian mass extinction event, associated with the eruption of the Emeishan Traps. The Permian (along with the Paleozoic) ended with the Permian–Triassic extinction event, the largest mass extinction in Earth's history, in which nearly 81% of marine species and 70% of terrestrial species died out. It would take well into the Triassic for life to recover from this catastrophe; on land, ecosystems took 30 million years to recover.