The Permian ended with the most extensive extinction event recorded in paleontology: the Permian–Triassic extinction event. Ninety to 95% of marine species became extinct, as well as 70% of all land organisms. It is also the only known mass extinction of insects. Recovery from the Permian–Triassic extinction event was protracted; on land, ecosystems took 30 million years to recover. Trilobites, which had thrived since Cambrian times, finally became extinct before the end of the Permian. Nautiloids, a subclass of cephalopods, surprisingly survived this occurrence.