 After the extinction event at the end of the Devonian period, what trilobite diversity remained was bottlenecked into the order Proetida.Decreasing diversity of genera limited to shallow-water shelf habitats, coupled with a drastic lowering of sea level (regression) meant that the final decline of trilobites happened shortly before the end of the Permian mass extinction event.With so many marine species involved in the Permian extinction, the end of nearly 300 million successful years for the trilobites would not have been unexpected at the time.